Skip to content

Commit

Permalink
Merge pull request #25 from jzuhone/draw_idle
Browse files Browse the repository at this point in the history
Use draw_idle instead of draw in remake_ticks
  • Loading branch information
taldcroft authored Aug 3, 2022
2 parents 8411edb + a5a24fe commit 4a9f1b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Ska/Matplotlib/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 4a9f1b5

Please sign in to comment.