summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalf Gommers <ralf.gommers@gmail.com>2019-04-27 17:55:09 +0200
committerRalf Gommers <ralf.gommers@gmail.com>2019-04-27 17:55:09 +0200
commit6e1b9ff8580bb4aa1f49768301ba343d6b50ed36 (patch)
treed8019c667551bc2538af729389ded79114e5f4eb
parentf0d96ae2bf3b010ce53adadde1e38997497a513e (diff)
downloadscipy-sphinx-theme-6e1b9ff8580bb4aa1f49768301ba343d6b50ed36.tar.gz
MAINT: change pngmath to imgmath extension.
pngmath doesn't exist anymore in recent Sphinx releases.
-rw-r--r--conf.py9
1 files changed, 1 insertions, 8 deletions
diff --git a/conf.py b/conf.py
index d8c50e0..4fbcabe 100644
--- a/conf.py
+++ b/conf.py
@@ -1,6 +1,6 @@
needs_sphinx = '1.1'
-extensions = ['sphinx.ext.autodoc', 'sphinx.ext.pngmath', 'numpydoc',
+extensions = ['sphinx.ext.autodoc', 'sphinx.ext.imgmath', 'numpydoc',
'sphinx.ext.intersphinx', 'sphinx.ext.coverage',
'sphinx.ext.autosummary', 'matplotlib.sphinxext.plot_directive']
@@ -28,13 +28,6 @@ html_theme_options = {
("http://docs.scipy.org/", "Docs")]
}
-pngmath_latex_preamble = r"""
-\usepackage{color}
-\definecolor{textgray}{RGB}{51,51,51}
-\color{textgray}
-"""
-pngmath_use_preview = True
-pngmath_dvipng_args = ['-gamma 1.5', '-D 96', '-bg Transparent']
#------------------------------------------------------------------------------
# Plot style