We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb6de04 commit af0e1ceCopy full SHA for af0e1ce
2 files changed
changelog/129.bugfix.rst
@@ -0,0 +1 @@
1
+Switched the backend to use ``draw_idle`` to avoid Jupyter lab widget issues.
mpl_animators/base.py
@@ -257,12 +257,12 @@ def _set_active_slider(self, ind):
257
def _highlight_slider(self, ind):
258
ax = self.sliders[ind]
259
[a.set_linewidth(2.0) for n, a in ax.spines.items()]
260
- self.fig.canvas.draw()
+ self.fig.canvas.draw_idle()
261
262
def _dehighlight_slider(self, ind):
263
264
[a.set_linewidth(1.0) for n, a in ax.spines.items()]
265
266
267
# =============================================================================
268
# Build the figure and place the widgets
0 commit comments