[Matplotlib-users] python crash when loading pylab

2009-10-26 Thread Andrey Naumov
When i run my script, python crashes on string: *from pylab import * * While tracing the error i've found that the problem is in _path.pyd Here is the problem string in file transforms.py: from matplotlib._path import affine_transform I've checked if _path.pyd is missing some libs and i saw tha

Re: [Matplotlib-users] Malaren lake by Matplotlib Basemap

2009-10-26 Thread Jeff Whitaker
kkondo wrote: > Dear Jeff > > Thank you for your reply. > > I have found that the "resolution='f'" in basemap crashes when drawing > the Japanese Isles. Is it another flaw in GSHHS? > Kentaro: I cannot reproduce this crash. What version of the GEOS library do you have? I am using 3.1.1. -Jeff P.

Re: [Matplotlib-users] Malaren lake by Matplotlib Basemap

2009-10-26 Thread Jeff Whitaker
Jeff Whitaker wrote: > kkondo wrote: > >> Hello >> >> I want to get the shoreline of Malaren lake as >> http://en.wikipedia.org/wiki/File:La3-demis-malaren.png. But I find >> that the following Matplotlib-Basemap program does not draw its >> shoreline but its islands. Is it the flaw of GSHHS?

Re: [Matplotlib-users] Can't import pylab on Windows with C API

2009-10-26 Thread Michael Droettboom
I'm not aware of anyone trying this, but I suspect it's related to differences in how DLL paths are searched on Windows vs. shared objects on Linux. This sort of seems like a lower-level Python issue -- I wonder if you could find other projects that do this and see where matplotlib differs. F

[Matplotlib-users] Movable Legend

2009-10-26 Thread Andrea Gavana
Hi All, a while ago, Che posted a nice example on how to drag a legend with the mouse. I have upgraded to matplotlib 0.99.1 and it looks like the nice example is not working anymore: for the life of me I can't figure out what's wrong. I attach the runnable sample submitted originally. Any sug

Re: [Matplotlib-users] Py2.5.4 on Win7

2009-10-26 Thread Stan West
> From: Werner F. Bruhin [mailto:werner.bru...@free.fr] > Sent: Saturday, October 24, 2009 06:23 > > Installed Py 2.6.3 and I don't see the issue there, but not > all libraries I use are on 2.6 yet. > > So, I thought lets install Python(x, y) and give this a try, > but I can't find a Python 2.

Re: [Matplotlib-users] Py2.5.4 on Win7

2009-10-26 Thread Stan West
> From: Werner F. Bruhin [mailto:werner.bru...@free.fr] > Sent: Saturday, October 24, 2009 09:03 > > I got it working by adding "C:\Python25" to the path > environment variable. Works but smells very much like a work around. I'm glad you got things working. For what it's worth, my path contai

Re: [Matplotlib-users] Movable Legend

2009-10-26 Thread Jae-Joon Lee
This is a known bug. While this is fixed in the svn, this did go into the maint. branch. As a workaround, add the following line after line 70. self.legend.set_axes(self.subplot) Regards, -JJ On Mon, Oct 26, 2009 at 9:44 AM, Andrea Gavana wrote: > Hi All, > >    a while ago, Che poste

Re: [Matplotlib-users] Adding-custom-axes-within-a-subplot redux

2009-10-26 Thread Jae-Joon Lee
On Sun, Oct 25, 2009 at 7:30 PM, George Nurser wrote: > it seems a pity that > fig.add_axes can't accept the transform directly. While this is certainly possible, but it is a bit tricky to get it correct due to the underlying design of the matplotlib. On the other hand, I think it solves some pro

[Matplotlib-users] SVG output: possible bug

2009-10-26 Thread Craig Lang
Greetings, I am using matplotlib to generate an SVG plot containing a mixture of Annotations and Circles. I noticed that the annotation text does not appear at exactly the correct location when outputting to SVG. The difference is minor, but definitely present. The following will reproduce the pr

[Matplotlib-users] sharing the x-axis with another plot's y-axis

2009-10-26 Thread Ernest Adrogué
Hi, I know about sharing an axis with another subplot, but is it possible to share the x-axis with another subplot's y-axis (or the other way around)? Thanks. Ernest -- Come build with us! The BlackBerry(R) Developer Conf

[Matplotlib-users] drawing arrows

2009-10-26 Thread per freem
hi all, i am trying to plot a series of arrows between points on a scatter plot, using the following code: import matplotlib.pyplot as plt from matplotlib.patches import FancyArrowPatch from numpy import * from scipy import * def plot_arrows(init_val, all_vals, c='k'): plt.figure() ax =

Re: [Matplotlib-users] SVG output: possible bug

2009-10-26 Thread Stan West
From: Craig Lang [mailto:cr...@grapheneindustries.com] Sent: Monday, October 26, 2009 13:04 Greetings, I am using matplotlib to generate an SVG plot containing a mixture of Annotations and Circles. I noticed that the annotation text does not appear at exactly the correct location when outputting

Re: [Matplotlib-users] drawing arrows

2009-10-26 Thread Jae-Joon Lee
The only case I can think of now is that the two points are too close (with in a few points). This could happen during the "shrink", or during the "mutate" (http://matplotlib.sourceforge.net/users/annotations_guide.html#annotating-with-arrow). But it would be great if you can pinpoint this down and