##// 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:

r22618:12e05563
r25419:773930b8
Show More
bad_all.py
14 lines | 206 B | text/x-python | PythonLexer
"""Module with bad __all__
To test https://github.com/ipython/ipython/issues/9678
"""
def evil():
pass
def puppies():
pass
__all__ = [evil, # Bad
'puppies', # Good
]