File tree 1 file changed +11
-0
lines changed 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change
1
+ `EngFormatter ` now accepts `usetex `, `useMathText ` as keyword only arguments
2
+ ``````````````````````````````````````````````````````````````````````````````````````````````
3
+
4
+ A public API has been added to `EngFormatter ` control how the numbers in the ticklabels will be rendered.
5
+ By default, `useMathText ` evaluates to `rcParams['axes.formatter.use_mathtext'] ` and
6
+ `usetex ` evaluates to `rcParams['text.usetex'] `.
7
+
8
+ If either is `True ` then the numbers will be encapsulated by `$ ` signs. When using `TeX ` this implies
9
+ that the numbers will be shown in TeX's math font. When using mathtext, the `$ ` signs around numbers will
10
+ ensure unicode rendering (as implied by mathtext). This will make sure that the minus signs in the ticks
11
+ are rendered as the unicode-minus (U+2212) when using mathtext (without relying on the `fix_minus ` method).
You can’t perform that action at this time.
0 commit comments