Skip to content

Commit

Permalink
Merge pull request #3277 from shaperilio/master
Browse files Browse the repository at this point in the history
Flush figures with new backend name
  • Loading branch information
jasongrout authored Sep 13, 2021
2 parents a1078be + d510b91 commit c3c6fa8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ipywidgets/widgets/interaction.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ def show_inline_matplotlib_plots():
except ImportError:
return

if mpl.get_backend() == 'module://ipykernel.pylab.backend_inline':
if (mpl.get_backend() == 'module://ipykernel.pylab.backend_inline' or
mpl.get_backend() == 'module://matplotlib_inline.backend_inline'):
flush_figures()


Expand Down

0 comments on commit c3c6fa8

Please sign in to comment.