I'm not aware of an rc param for this. The relevant github issue:
https://github.com/matplotlib/matplotlib/issues/461
Regards,
Phil
On 19 August 2012 21:27, Christopher Graves <christoph.gra...@gmail.com>wrote:
> Using matplotlib 1.1.1.
> If one runs the following code:
>
> from pylab import *
>
> plot([19.185,19.187],[0.0009,0.0011],'b.')
>
> show()
>
> The x-axis is labelled 0.0005, 0.0010, 0.0015 etc +1.9184e1
>
> This is unreadable and does not seem like a good default behavior!
>
> One can add
> gca().xaxis.set_major_formatter(FormatStrFormatter('$%g$'))
> before "show()"
> to obtain an x-axis labelled 19.1845, 19.185, 19.1855, etc.
>
> Can one change the default label formatting behavior with a matplotlib rc?
> However, I would not want to e.g. override the 10^-3, 10^-2, etc when using
> log axes.
>
> Best regards,
> Chris
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users