##// END OF EJS Templates
Delay import from matplotlib_inline.backend_inline (#14330)...
Delay import from matplotlib_inline.backend_inline (#14330) Possible fix for #14329. With this change, the reproducers from the issue become: ```python $ ipython <snip> In [1]: import matplotlib.pyplot as plt; plt.set_loglevel("debug") In [2]: %matplotlib tk DEBUG:matplotlib.pyplot:Loaded backend TkAgg version 8.6. ``` It is still possible to call `matplotlib.pyplot.switch_backend` twice but only if you request `%matplotlib inline`, and the `switch_backend` is called with same correct backend twice. This isn't ideal but it doesn't cause any problems apart from being a little slower than necessary.
M Bussonnier -
r28647:e60c06a5 merge
Show More
Name Size Modified Last Commit Author
/ IPython / core
magics
profile
tests
__init__.py Loading ...
alias.py Loading ...
application.py Loading ...
async_helpers.py Loading ...
autocall.py Loading ...
builtin_trap.py Loading ...
compilerop.py Loading ...
completer.py Loading ...
completerlib.py Loading ...
crashhandler.py Loading ...
debugger.py Loading ...
display.py Loading ...
display_functions.py Loading ...
display_trap.py Loading ...
displayhook.py Loading ...
displaypub.py Loading ...
error.py Loading ...
events.py Loading ...
excolors.py Loading ...
extensions.py Loading ...
formatters.py Loading ...
getipython.py Loading ...
guarded_eval.py Loading ...
history.py Loading ...
historyapp.py Loading ...
hooks.py Loading ...
inputsplitter.py Loading ...
inputtransformer.py Loading ...
inputtransformer2.py Loading ...
interactiveshell.py Loading ...
latex_symbols.py Loading ...
logger.py Loading ...
macro.py Loading ...
magic.py Loading ...
magic_arguments.py Loading ...
oinspect.py Loading ...
page.py Loading ...
payload.py Loading ...
payloadpage.py Loading ...
prefilter.py Loading ...
profileapp.py Loading ...
profiledir.py Loading ...
prompts.py Loading ...
pylabtools.py Loading ...
release.py Loading ...
shellapp.py Loading ...
splitinput.py Loading ...
ultratb.py Loading ...
usage.py Loading ...