##// END OF EJS Templates
MNT: ensure we can show un-pickled figures...
MNT: ensure we can show un-pickled figures For Matplotlib < 3.2 inline figures maybe re-hydrated with the canvas attribute as None. In that case `print_figure` will fail, this ensure that a minimal canvas will exist.

File last commit:

r10447:853e909f
r25419:773930b8
Show More
display.py
16 lines | 638 B | text/x-python | PythonLexer
"""Public API for display tools in IPython.
"""
#-----------------------------------------------------------------------------
# Copyright (C) 2012 The IPython Development Team
#
# Distributed under the terms of the BSD License. The full license is in
# the file COPYING, distributed as part of this software.
#-----------------------------------------------------------------------------
#-----------------------------------------------------------------------------
# Imports
#-----------------------------------------------------------------------------
from IPython.core.display import *
from IPython.lib.display import *