Re: [Matplotlib-users] animated plot with autoscaling

2008-04-25 Thread Matthias Michler
Hello Glenn Do you refer to a special example? Maybe the following helps you. -- from pylab import * ion() ax = subplot(111) # ... some plotting ax.relim() # reset intern limits of the current axes

Re: [Matplotlib-users] animated plot with autoscaling

2008-04-25 Thread G Jones
Hello, Thank you for the suggestion. However, I am refering to the canvas.restore_region, draw_artist, blit, gui_repaint sort of animation. Glenn On Thu, Apr 24, 2008 at 11:13 PM, Matthias Michler [EMAIL PROTECTED] wrote: Hello Glenn Do you refer to a special example? Maybe the following

Re: [Matplotlib-users] 'plot' broken on latest svn

2008-04-25 Thread Antonio Gonzalez
Eric Firing wrote: John Hunter wrote: On Wed, Apr 23, 2008 at 6:45 AM, Antonio Gonzalez [EMAIL PROTECTED] wrote: Hello, I've just updated to the latest svn (5063) and now I cannot create a simple plot. If I just try (in ipython -pylab): plot(rand(10)) I get: type

Re: [Matplotlib-users] font always the same in PNG

2008-04-25 Thread Michael Droettboom
There are at least a couple of fishy things here. It doesn't seem to find the Vera fonts that matplotlib installs in mpl-data. Did you remove them, or perhaps the Ubuntu or Debian packagers removed them? Then at least the default font would be correct (and not cmr10.ttf, which is a very bad

Re: [Matplotlib-users] Strange Plotting Behavior When Extremely Zoomed

2008-04-25 Thread Michael Droettboom
I'm not able to reproduce this bug. What version of matplotlib are you using and which backend? Cheers, Mike Sunzen Wang wrote: Hi, As title, When extremely zooming in by 'Zoom to Rectangle' navigation button, there will strange plot. A script is attached and two strange plots are

Re: [Matplotlib-users] 'plot' broken on latest svn

2008-04-25 Thread John Hunter
On Fri, Apr 25, 2008 at 6:26 AM, Antonio Gonzalez [EMAIL PROTECTED] wrote: Thanks for the replies. I'm now using numpy svn and all works well. May I suggest, then -- maybe a warning should indeed arise at build time? Currently, mpl svn recognises non-svn numpy as an acceptable 'required

Re: [Matplotlib-users] 'plot' broken on latest svn

2008-04-25 Thread Eric Firing
Antonio Gonzalez wrote: Eric Firing wrote: John Hunter wrote: On Wed, Apr 23, 2008 at 6:45 AM, Antonio Gonzalez [EMAIL PROTECTED] wrote: Hello, I've just updated to the latest svn (5063) and now I cannot create a simple plot. If I just try (in ipython -pylab): plot(rand(10)) I get:

[Matplotlib-users] ImportError: cannot import name rcParams

2008-04-25 Thread Rich Fought
Hi, I'm getting the following error when trying to create a plot with matplotlib. I am using matplotlib-0.91.2 on CentOS 4 with python 2.3. We are running it with mod_python and Apache in a web service configuration. File

Re: [Matplotlib-users] ImportError: cannot import name rcParams

2008-04-25 Thread John Hunter
On Fri, Apr 25, 2008 at 11:51 AM, Rich Fought [EMAIL PROTECTED] wrote: This error has only appeared since we started using Apache 2.2 instead of 2.0. I can do the import just fine from the command line in a python 2.3 shell. Any ideas? My guess is that somewhere on your system you have

Re: [Matplotlib-users] How do you static link to freetype when building eggs?

2008-04-25 Thread Christopher Barker
John Hunter wrote: Instead of all of us going through the pain of figuring out how to build and link static libs for MPL, and PIL, and GDAL, and ???, why don't we just build against the nice Frameworks here: http://www.kyngchaos.com/wiki/software:frameworks I read your post and perhaps

Re: [Matplotlib-users] How do you static link to freetype when building eggs?

2008-04-25 Thread Christopher Barker
John Hunter wrote: I may have spoken too quickly -- I forgot that on my system in order to get the mpl build to find the xcode libpng and freetype libs I had to install pkgconfig, as I described at so it is not exactly automatic. But it does work, in my experience. The issue here is not

[Matplotlib-users] markeredgewidth and pdf

2008-04-25 Thread Christopher Brown
Hi List, With mpl 0.91.2, the markeredgewidth property does not seem to have an effect when using the pdf backend (seems to always be 1, regardless of what I set it to, and it seems to be fine with other backends). Here is a minimal example: from matplotlib import use #use('pdf') # -