[Matplotlib-users] PNG without transparency

2010-08-12 Thread Miha Tomšič
Hello! I am having trouble saving figures to PNG with Agg backend. The problem is I can't get a PNG without transparency even if I specify: fig.savefig(colorAgg.png, dpi=300, transparent=False) identify still indicates there is a 1-bit aplha channel present: Image: colorAgg.png Format: PNG

[Matplotlib-users] TeX not working with Matplotlib

2010-08-12 Thread Harry Boer
Hi there, I'm trying to render text with LaTeX using the example on page 53 of the Matplotlib tutorial; see source code and output below. It's not working. divipng, (latest)Ghostscript, and LaTeX are all installed; their executables in my PATH. Matplotlib is working flawlessly. Help is

Re: [Matplotlib-users] TeX not working with Matplotlib

2010-08-12 Thread Jouni Seppänen
Harry Boer h.b...@... writes: kpathsea: Running mktexfmt latex.efmt fmtutil: unknown format type: latex.efmt. Sounds like your LaTeX installation is broken. Can you run latex by hand? Is it the same binary that matplotlib ends up calling? Jouni Seppänen

Re: [Matplotlib-users] Hints on sizing plot elements?

2010-08-12 Thread Tony S Yu
On Aug 12, 2010, at 1:08 AM, Russell E. Owen wrote: I'm making a strip chart widget (which I plan to make publicly available when finished). The basics are working fine, but the automatic sizing is not doing so well. Strip charts are typically short, and when suitably short the X axis

Re: [Matplotlib-users] PNG without transparency

2010-08-12 Thread Benjamin Root
On Thu, Aug 12, 2010 at 1:56 AM, Miha Tomšič miha.tom...@gmail.com wrote: Hello! I am having trouble saving figures to PNG with Agg backend. The problem is I can't get a PNG without transparency even if I specify: fig.savefig(colorAgg.png, dpi=300, transparent=False) identify still

Re: [Matplotlib-users] Matplotlib-users Digest, Vol 51, Issue 24

2010-08-12 Thread Harry Boer
Jouni, I think you're right. If I run LaTeX from the command line I get the error message: warning: Could not open char translation file `cp8bit.tcx'. This is e-TeX, Version 3.141592-2.1 (Web2C 7.5.2) kpathsea: Running mktexfmt latex.efmt fmtutil: unknown format type: latex.efmt. I can't find

[Matplotlib-users] How to improve colorbar scaling?

2010-08-12 Thread Jeremy Conlin
I have a problem with the scaling of the numbers on a colorbar. The problem occurs when the numbers used as colorbar labels need to be scaled (i.e. by 1E3). The colorbar correctly puts the scaling value on the top of the colorbar, but instead of of multiplying by a scale factor, addition is used

Re: [Matplotlib-users] TeX not working with Matplotlib

2010-08-12 Thread Jouni Seppänen
Harry Boer henriab...@... writes: This is e-TeX, Version 3.141592-2.1 (Web2C 7.5.2) This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009) These are different versions. Do you have two different TeX distributions installed on your computer? ~ Harry$ which latex /usr/local/bin/latex I

[Matplotlib-users] Screenshot on homepage

2010-08-12 Thread Simon Friedberger
Hi list members. Does anybody know how to create the graph in the middle of this http://matplotlib.sourceforge.net/_static/logo_sidebar_horiz.png image on the homepage. I can't find it in the examples and suspect it may have been taken out in a previous revision. Does anybody remember? Best

Re: [Matplotlib-users] Screenshot on homepage

2010-08-12 Thread Aman Thakral
Hi Simon, I'm fairly sure its just a contour plot with different color mappings for the lines and the fill. There are several examples of this on the site. Start here: http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.contour Best of Luck, Aman On Thu, Aug 12, 2010 at

Re: [Matplotlib-users] Hints on sizing plot elements?

2010-08-12 Thread Russell Owen
On Aug 12, 2010, at 7:37 AM, Tony S Yu wrote: On Aug 12, 2010, at 1:08 AM, Russell E. Owen wrote: I'm making a strip chart widget (which I plan to make publicly available when finished). The basics are working fine, but the automatic sizing is not doing so well. Strip charts are typically