Skip to content

Commit c3c6fa8

Browse files
authored
Merge pull request #3277 from shaperilio/master
Flush figures with new backend name
2 parents a1078be + d510b91 commit c3c6fa8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ipywidgets/widgets/interaction.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ def show_inline_matplotlib_plots():
4444
except ImportError:
4545
return
4646

47-
if mpl.get_backend() == 'module://ipykernel.pylab.backend_inline':
47+
if (mpl.get_backend() == 'module://ipykernel.pylab.backend_inline' or
48+
mpl.get_backend() == 'module://matplotlib_inline.backend_inline'):
4849
flush_figures()
4950

5051

0 commit comments

Comments
 (0)