Hello list,
the little example below seems to fail, can anybody help me?
I'm on Debian using the release 0.91.2.
best regards and thanks in advance for any hints,
Matthias
-------------------------------------------------------------------------------------------
from matplotlib.ticker import ScalarFormatter
from matplotlib.pyplot import *
ax = axes()
axis([0.0, 10**-7, 0, 10**-7])
ax.yaxis.set_major_formatter(ScalarFormatter(useMathText=True))
show()
------------------------------------------------------------------------------------------------
error message:
/scratch/michler/SOFT/lib/python2.4/site-packages/matplotlib/mathtext.py:722:
MathTextWarning: Unrecognized symbol '\times'. Substituting with a dummy
symbol.
% sym.encode('ascii', 'backslashreplace'), MathTextWarning)
the string '\times' is due to line
sciNotStr = r'{\times}'+self.format_data(10**self.orderOfMagnitude)
in function ScalarFormatter.get_offset
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users