Re: [Matplotlib-users] problems installing matplotlib on OS X Lion

2011-09-05 Thread Lynn Oliver
I don't know about changing backends, but I do need to use TkAgg. I finally got it working. The instructions from the original email below are what worked, but first I had to uninstall Tcl8.6 (manually). The first time I tried it I deleted something that I shouldn't have, and ended up with a

[Matplotlib-users] Change JPG compression ratio in savefig

2011-09-05 Thread Frank Breitling
Hi, I am using matplotlib.savefig to save my figures as JPEG files. Now I need to reduce the JPG compression ratio. How can I do this? Any hint is appreciated. Frank -- Special Offer -- Download ArcSight Logger for

Re: [Matplotlib-users] Change JPG compression ratio in savefig

2011-09-05 Thread Jeffrey Spencer
You can use dpi=600 as a parameter to increase the resolution but I'm not sure if that's what you mean. If you mean the actual compression strategy used like to Jpeg2000 per se. Might have to do that after saving the file with an image library (for example, PIL). Cheers, Jeff On 09/06/2011

Re: [Matplotlib-users] Error probably due to misconfiguration

2011-09-05 Thread José Alexandre Nalon
Hello, Em 01/09/2011, às 00:16, Eric Firing escreveu: On 08/31/2011 01:15 PM, José Alexandre Nalon wrote: Hello, some weeks ago, I recompiled matplotlib to get locale support for commas, ... This is coming from CXX. I am not going to be able to figure out what the problem is, but

Re: [Matplotlib-users] adding scrollbars to plot embedded in tk

2011-09-05 Thread Hans Bering
Hi Matt, a possible workaround seems to be to embed the figure's canvas in a second Tk canvas using canvas.create_window(...). The second (embedding) canvas handles the appropriate resizing scrolling. I have attached a script below to demonstrate. Unfortunately, scrolling is rather

Re: [Matplotlib-users] Error probably due to misconfiguration

2011-09-05 Thread Eric Firing
On 09/05/2011 08:29 AM, José Alexandre Nalon wrote: Hello, Em 01/09/2011, às 00:16, Eric Firing escreveu: On 08/31/2011 01:15 PM, José Alexandre Nalon wrote: Hello, some weeks ago, I recompiled matplotlib to get locale support for commas, ... This is coming from CXX. I am not going to

Re: [Matplotlib-users] contour's clabels overlap each other in an ImageGrid

2011-09-05 Thread Jae-Joon Lee
Hi, I think this is partly because the current clabel implementation of matpltolib does not correctly account the dpi setting. I opened a pull request I think fix this problem. Please try that fix if you can. https://github.com/matplotlib/matplotlib/pull/453 Otherwise, I think you can

[Matplotlib-users] Can't install from PyPi

2011-09-05 Thread dpo
Hi, Upon trying to install Matplotlib from PyPi, I get the following error message: --- Traceback (most recent call last): File string, line 14, in module File /Users/dpo/.virtualenvs/tsp/build/matplotlib/setup.py, line 162, in module if check_for_tk() or

Re: [Matplotlib-users] Can't install from PyPi

2011-09-05 Thread Eric Firing
On 09/05/2011 03:01 PM, dpo wrote: Hi, Upon trying to install Matplotlib from PyPi, I get the following error message: --- Traceback (most recent call last): File string, line 14, inmodule File /Users/dpo/.virtualenvs/tsp/build/matplotlib/setup.py, line 162, inmodule

Re: [Matplotlib-users] Can't install from PyPi

2011-09-05 Thread dpo
efiring wrote: On 09/05/2011 03:01 PM, dpo wrote: Hi, Upon trying to install Matplotlib from PyPi, I get the following error message: --- Traceback (most recent call last): File string, line 14, inmodule File /Users/dpo/.virtualenvs/tsp/build/matplotlib/setup.py,