Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b7342c commit 654967bCopy full SHA for 654967b
1 file changed
doc/users/next_whats_new/mathmpl_hidpi.rst
@@ -0,0 +1,13 @@
1
+More configuration of ``mathmpl:`` sphinx extension
2
+---------------------------------------------------
3
+
4
+The `matplotlib.sphinxext.mathmpl` sphinx extension supports two new
5
+configuration options that may be specified in your ``conf.py``:
6
7
+- ``mathmpl_fontsize`` (float), which sets the font size of the math text in
8
+ points;
9
+- ``mathmpl_srcset`` (list of str), which provides a list of sizes to support
10
+ `responsive resolution images
11
+ <https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Responsive_images>`__
12
+ The list should contain additional x-descriptors (``'1.5x'``, ``'2x'``, etc.)
13
+ to generate (1x is the default and always included.)
0 commit comments