Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit dbdddda

Browse files
authored
Fix formatting of docstring
I cannot really test, but according to http://docutils.sourceforge.net/docs/ref/rst/roles.html#subscript this should correct the display on https://matplotlib.org/api/_as_gen/matplotlib.axes.Axes.ticklabel_format.html
1 parent e02f2c5 commit dbdddda

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/axes/_base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2764,10 +2764,10 @@ def ticklabel_format(self, *, axis='both', style='', scilimits=None,
27642764
*scilimits* (m, n), pair of integers; if *style*
27652765
is 'sci', scientific notation will
27662766
be used for numbers outside the range
2767-
10`m`:sup: to 10`n`:sup:.
2767+
10\ :sup:`m`\ to 10\ :sup:`n`\ .
27682768
Use (0,0) to include all numbers.
27692769
Use (m,m) where m <> 0 to fix the order
2770-
of magnitude to 10`m`:sup:.
2770+
of magnitude to 10\ :sup:`m`:\ .
27712771
*useOffset* [ bool | offset ]; if True,
27722772
the offset will be calculated as needed;
27732773
if False, no offset will be used; if a

0 commit comments

Comments
 (0)