Hello !
I would like to have some hints about the matplotlib usage, especially
the PGF/tikz backend.
I use a latex document, and almost only tikz figures.
I have a couple of problems with the matplotlib package.
The first is the preemptive behaviour of the matplotlib package over the
used font
Have you tried latex_float() as suggested here ?
http://stackoverflow.com/questions/13490292/format-number-using-latex-notation-in-python
def latex_float(f):
float_str = "{0:.2g}".format(f)
if "e" in float_str:
base, exponent = float_str.split("e")
return r"{0} \times 1
I tried:
plt.title (r'$\omega=%s$' % omega), where omega=-1e-5. The title says:
omega=-1e-05
with the 'e' in italics, and the whole thing generally ugly.
What I'd like to see is what TeX would do for $1 \times 10^{5}$.
I know mpl already can nicely format numbers for axis. Can I somehow use
Hi all,
I'm running CentOS 5.9 and I would like to install the latest version of
matplotlib (or at least 1.2). The version of python I would like to use is
2.6 and it's invokable only with `python26`, not just `python`.
Now, I downloaded the tarball and installed the required packages
separately f