Re: [Matplotlib-users] format yticks

2010-03-25 Thread Ryan May
On Wed, Mar 24, 2010 at 8:03 PM, Angus McMorland wrote: > On 24 March 2010 17:33, Nils Wagner wrote: >> Hi all, >> >> how can I change the output format of yticks from 100 >> to 1.e6 ? > > I'm not sure if there's an easier way still, but this works: > > from matplotlib.ticker import Formatter

Re: [Matplotlib-users] format yticks

2010-03-24 Thread Angus McMorland
On 24 March 2010 17:33, Nils Wagner wrote: > Hi all, > > how can I change the output format of yticks from 100 > to 1.e6 ? I'm not sure if there's an easier way still, but this works: from matplotlib.ticker import Formatter class SciFormatter(Formatter): def __call__(self, x, pos=None):

[Matplotlib-users] format yticks

2010-03-24 Thread Nils Wagner
Hi all, how can I change the output format of yticks from 100 to 1.e6 ? Nils -- Download IntelĀ® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune app