On 15 March 2024 19:42:48 GMT, kcrisman <kcris...@gmail.com> wrote:
>
>
>it's not a bug, it's a feature. :-)
>https://discourse.matplotlib.org/t/default-format-of-axis-offset-label/23162/2
>
>
>Correct.
>
>import matplotlib as mpl
>mpl.rcParams['axes.formatter.useoffset'] = False
>plot((x^2+0.0001)/(x^2+0.0001000001), (x,-0.1,0.1))
>
>produces the normal labelling of y-axes, without an offset.
>Perhaps we should have an example like this in the manual.
>
>
>
>Or rather, should the default be useoffset False?
the reason matplotlib uses it is to reduce the clutter
large numbers next to the y-axis may produce if their common messy offset is
not taken into account.
<https://matplotlib.org/stable/api/ticker_api.html#matplotlib.ticker.ScalarFormatter.set_useOffset>
I would say that for teaching purposes it might be set to off, but otherwise it
might be useful to have it on.
> We already change one of
>the defaults in https://github.com/sagemath/sage/pull/37502 and I wonder
>how often people are seeing this offset; I've personally never seen it
>actually show up before, but maybe it's more common than we think. Has
>anyone seen it on ask.sagemath?
>
--
You received this message because you are subscribed to the Google Groups
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/sage-support/BD475490-570D-4895-8AB3-1C8AAA27A450%40gmail.com.