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
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):
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