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

r21609:fa0c8cb1
r25419:773930b8
Show More
mathjax.py
13 lines | 308 B | text/x-python | PythonLexer
Matthias BUSSONNIER
use argparse to make most of the parameters configurable
r8682 #!/usr/bin/python
MinRK
Add utility function for installing mathjax for offline use...
r4652 """
Matthias Bussonnier
remove mathjax utils...
r21604 `IPython.external.mathjax` is deprecated with IPython 4.0+
Mark Sienkiewicz at STScI
mods to install mathjax from an explicitly downloaded tar or zip file
r8154
Matthias Bussonnier
remove mathjax utils...
r21604 mathjax is now install by default with the notebook package
Mark Sienkiewicz at STScI
mods to install mathjax from an explicitly downloaded tar or zip file
r8154
Matthias Bussonnier
remove mathjax utils...
r21604 """
Matthias BUSSONNIER
use argparse to make most of the parameters configurable
r8682
Matthias Bussonnier
remove mathjax utils...
r21604 import sys
Mark Sienkiewicz at STScI
mods to install mathjax from an explicitly downloaded tar or zip file
r8154
if __name__ == '__main__' :
Matthias Bussonnier
Be more descriptive in error message.
r21609 sys.exit("IPython.external.mathjax is deprecated, Mathjax is now installed by default with the notebook package")
MinRK
Add utility function for installing mathjax for offline use...
r4652