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 c5887ea commit 4af2f45Copy full SHA for 4af2f45
matplotlib_inline/backend_inline.py
@@ -211,7 +211,7 @@ def _enable_matplotlib_integration():
211
from matplotlib import get_backend
212
ip = get_ipython()
213
backend = get_backend()
214
- if ip and backend == 'module://%s' % __name__:
+ if ip and backend in ('inline', 'module://matplotlib_inline.backend_inline'):
215
from IPython.core.pylabtools import activate_matplotlib
216
try:
217
activate_matplotlib(backend)
0 commit comments