Change tick mark format for y-axis to 10^n
I would like to have the tick mark labels on the y-axis only switch from the exponential format using e
to a format using 10^n
. For example, instead of 1e19
, I would like to see 10^19
.
I'm sure this is a tick_formatter
thing, but it is escaping me.
I wish, but I fear it is not. You may want to see the matplotlib documentation to see if it is easily possible; they have some algorithms for when to switch to the
e
thing, but don't know what else it does...