Show More
@@ -3654,8 +3654,6 b' class InteractiveShell(SingletonConfigurable):' | |||
|
3654 | 3654 | make sense in all contexts, for example a terminal ipython can't |
|
3655 | 3655 | display figures inline. |
|
3656 | 3656 | """ |
|
3657 | from matplotlib_inline.backend_inline import configure_inline_support | |
|
3658 | ||
|
3659 | 3657 | from IPython.core import pylabtools as pt |
|
3660 | 3658 | gui, backend = pt.find_gui_and_backend(gui, self.pylab_gui_select) |
|
3661 | 3659 | |
@@ -3670,6 +3668,9 b' class InteractiveShell(SingletonConfigurable):' | |||
|
3670 | 3668 | gui, backend = pt.find_gui_and_backend(self.pylab_gui_select) |
|
3671 | 3669 | |
|
3672 | 3670 | pt.activate_matplotlib(backend) |
|
3671 | ||
|
3672 | from matplotlib_inline.backend_inline import configure_inline_support | |
|
3673 | ||
|
3673 | 3674 | configure_inline_support(self, backend) |
|
3674 | 3675 | |
|
3675 | 3676 | # Now we must activate the gui pylab wants to use, and fix %run to take |
General Comments 0
You need to be logged in to leave comments.
Login now