Skip to content

Commit a5058e3

Browse files
committed
Added a what's new entry
1 parent e47772e commit a5058e3

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
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).

0 commit comments

Comments
 (0)