On 02/23/2012 01:13 AM, Nils Wagner wrote:
> Hi all,
>
> How can I increase the number of decimal places in yticks ?
One way is to install mpl from git master. The ScalarFormatter handles
this situation better now:
In [15]: print '\n'.join([tl.get_text() for tl in ax.get_yticklabels()])
$\mathd
Hi all,
How can I increase the number of decimal places in yticks
?
Nils
from matplotlib.ticker import ScalarFormatter
formatter =
ScalarFormatter(useMathText=True,useOffset=False)
formatter.set_scientific(True)
formatter.set_powerlimits((-12,12))
print dir (formatter)
import matplotlib.py