Follow me
-
Recent Posts
calendar
Recent Comments
- Stan on python argparse issues with the help argument (TypeError: %o format: a number is required, not dict)
- Cormac on Pandas : how to compare dataframe with None
- LP on AWK: the substr command to select a substring
- jrab on python argparse issues with the help argument (TypeError: %o format: a number is required, not dict)
- How to disable SSL verification for urlretrieve? – Peter's blog on python: certificate verified failed
Archives
Categories
Meta
Daily Archives: September 8, 2011
matplotlib: latex strings are not interpreted
If the LaTeX strings are not intepreted in matplotlib (e.g., in the xlabel), check your configuration file ( see previous post for matplotlib configuration file). You can either do it for one session : rc(’text’, usetex=True) plot([1,2],[3,4]); title(’a^2’) rc(‘text’, usetex=True) … Continue reading
Matplotlib configuration
Note 4/Sept/2013: the new location is /home/user/.config/matplotlib If you have ipython, try this command ipython -pylabipython -pylab and if you have Qt, you can change the backend (library used for plotting) and use qt as follows: ipython -pylab qtipython -pylab … Continue reading