From 0b85b04a17747c8155dd8e511c4584ba8734c7e1 2021-05-05 15:04:41 From: Sylvain Corlay Date: 2021-05-05 15:04:41 Subject: [PATCH] Backport PR #12940: IPython.core.pylabtools: fix configure_inline_support import --- diff --git a/IPython/core/pylabtools.py b/IPython/core/pylabtools.py index 874c722..63c73c4 100644 --- a/IPython/core/pylabtools.py +++ b/IPython/core/pylabtools.py @@ -383,6 +383,6 @@ def configure_inline_support(shell, backend): stacklevel=2, ) - from matplotlib_inline.backend_inline import configure_inline_support_orig + from matplotlib_inline.backend_inline import configure_inline_support as configure_inline_support_orig configure_inline_support_orig(shell, backend)