scientific notation in legend (pylab)

Jason Friedman jason at
Sat Jan 14 22:27:12 EST 2012

> I I would like to have numbers expressed in scientific notation in
> legend annotations. Does anybody know how to do that?

Not sure why legend annotations makes the problem different, but
perhaps this is a start:

$ python3
Python 3.2 (r32:88445, Jun 11 2011, 10:38:04)
[GCC 4.4.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> print("{:e}".format(1000))

More information about the Python-list mailing list