From a5a24fe989aff8eb93436182884a07dd418b70b2 Mon Sep 17 00:00:00 2001 From: John ZuHone Date: Fri, 15 Jul 2022 09:08:55 -0400 Subject: [PATCH] Use draw_idle instead of draw --- Ska/Matplotlib/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ska/Matplotlib/core.py b/Ska/Matplotlib/core.py index d2c4368..3d8b0af 100644 --- a/Ska/Matplotlib/core.py +++ b/Ska/Matplotlib/core.py @@ -94,7 +94,7 @@ def remake_ticks(ax): is pressed then set the date ticks to the maximum possible range. """ ticklocs = set_time_ticks(ax) - ax.figure.canvas.draw() + ax.figure.canvas.draw_idle() def plot_cxctime(times, y, fmt=None, fig=None, ax=None, yerr=None, xerr=None, tz=None, state_codes=None, interactive=True, **kwargs):