Re: [Matplotlib-users] Problem with show()

2010-10-05 Thread Jorge Scandaliaris
Eric Firing writes: > > For this to work, you need to be in matplotlib's interactive mode, > either by running ipython with the -pylab option, or by calling > plt.ion() before your call to show(). In either of these cases, your > example code works for me with ipython from git, mpl from svn, a

[Matplotlib-users] bug: axes.hitlist() ?

2010-10-05 Thread Daniel Hyams
I've run across a strange problem and perhaps I'm misusing something. I was trying to set up picking so that I can interact with plotted objects, and I get alot of error spew that looks like this: while checking Traceback (most recent call last): File "C:\Python26\lib\site-packages\matplotlib\

Re: [Matplotlib-users] Subaxis -> Basemap -> Rectangle

2010-10-05 Thread Jeff Whitaker
On 10/5/10 7:14 PM, Bror Jonsson wrote: Dear all, I am trying to add a rectangle in a basemap map that reside in a inlined axis. I am basing this exercise on the following code: (from http://old.nabble.com/display-a-filled-lat-lon-basemap-rectangle.-td28169736.html) from matplotlib.patch

[Matplotlib-users] Subaxis -> Basemap -> Rectangle

2010-10-05 Thread Bror Jonsson
Dear all, I am trying to add a rectangle in a basemap map that reside in a inlined axis. I am basing this exercise on the following code: (from http://old.nabble.com/display-a-filled-lat-lon-basemap-rectangle.-td28169736.html ) from matplotlib.patches import Polygon import matplotlib.pyplot as p

Re: [Matplotlib-users] Problem with show()

2010-10-05 Thread Eric Firing
On 10/05/2010 01:00 PM, Jorge Scandaliaris wrote: > Hi, > Today I tried to run some code in my new notebook, but I only got blank > figures > and high CPU usage as a result. This code did run on my previous laptop. I can > reproduce this behavior with the following code at the bottom of this messa

[Matplotlib-users] Problem with set_yticklabels

2010-10-05 Thread Michael Lenander
I'm making a plot with two y axes. When I resize the font on the tick labels for the second axis, nothing happens. The same code however works fine for the first set of axes. fig = figure() ax1 = fig.add_subplot(111) plot(bias,gamma1,'k.',markersize=mrkrsize) ax1.set_ylim([0,10

[Matplotlib-users] Problem with show()

2010-10-05 Thread Jorge Scandaliaris
Hi, Today I tried to run some code in my new notebook, but I only got blank figures and high CPU usage as a result. This code did run on my previous laptop. I can reproduce this behavior with the following code at the bottom of this message. The backtrace (also at the bottom this message) points to

Re: [Matplotlib-users] ERROR

2010-10-05 Thread Waléria Antunes David
Benjamin, You were right, the error was being cause because this '^' .. problem solved. Thank you very much On Tue, Oct 5, 2010 at 11:38 AM, Benjamin Root wrote: > On Tue, Oct 5, 2010 at 7:25 AM, Waléria Antunes David < > waleriantu...@gmail.com> wrote: > >> Benjamin, >> >> I tried this: x, y,

Re: [Matplotlib-users] Worries with ~/.matplotlib and fonts

2010-10-05 Thread Matthieu Brucher
Excellent ! Thank you for the future fix! Will this release make it before the next EPD release? Matthieu 2010/10/4 Michael Droettboom : > There is a fix for this in SVN in r8712 that will make it into the next > release. > > In the meantime, as a workaround, you can safely delete the font cache

Re: [Matplotlib-users] Problem with imsave in matplotlib v1.0

2010-10-05 Thread Benjamin Root
On Tue, Oct 5, 2010 at 6:48 AM, Ensitof wrote: > > Dear all, > > Please find here a really really stupid script for example purpose.. > > I was developping some Image processing steps using matplotlib 0.99 and > everything worked find... However, I upgraded my tools yesterday, and > installed the

Re: [Matplotlib-users] Where is the widgets ...???

2010-10-05 Thread John Hunter
On Mon, Oct 4, 2010 at 10:46 AM, Ademir Francisco da Silva wrote: > Hi John ..., I hope everything goes well ... > > ( This message is only for you ... ) > > I have decided to wrote this email to know if you have been working in " > widget module " ..., as you know by 2 months ago I asked you abou

Re: [Matplotlib-users] ERROR

2010-10-05 Thread Benjamin Root
On Tue, Oct 5, 2010 at 7:25 AM, Waléria Antunes David < waleriantu...@gmail.com> wrote: > Benjamin, > > I tried this: x, y, yerr = np.loadtxt(r'C:\date1.dat', unpack=True) > > but the error continue: http://pastebin.com/UwgKS3s5 > > Thanks, > Waleria. > > > On Mon, Oct 4, 2010 at 4:58 PM, Benjamin

[Matplotlib-users] subplot grids with EPD

2010-10-05 Thread Robin
Hi, I am using EPD 6.2 (32 bit) on a mac. I would like to use subplot grids (matplotlib.gridspec) which seems to require mpl 1.0.0. Is there anyway to install this and use it with EPD? So far I have tried everything from the installation guide, but whatever I do I get a bus error in ft2font. I

[Matplotlib-users] Scatter Plot with different colors

2010-10-05 Thread Alessio Civ
Hi, I'm trying to make a scatter plot of 2 variables using a thirds as filter to have different colors. Let's say I have those data: x=1,2,3,4 y=2,3,4,5 z=0,1,0,1 Then I want the values of x and y corresponding to those of z=0 to be of a color and those corresponding to z=1 to be of another co

[Matplotlib-users] Problem with imsave in matplotlib v1.0

2010-10-05 Thread Ensitof
Dear all, Please find here a really really stupid script for example purpose.. I was developping some Image processing steps using matplotlib 0.99 and everything worked find... However, I upgraded my tools yesterday, and installed the 1.0.0 version. The "imshow" still work fine and gives me the

Re: [Matplotlib-users] ERROR

2010-10-05 Thread Waléria Antunes David
Benjamin, I tried this: x, y, yerr = np.loadtxt(r'C:\date1.dat', unpack=True) but the error continue: http://pastebin.com/UwgKS3s5 Thanks, Waleria. On Mon, Oct 4, 2010 at 4:58 PM, Benjamin Root wrote: > On Mon, Oct 4, 2010 at 1:57 PM, Waléria Antunes David < > waleriantu...@gmail.com> wrote:

Re: [Matplotlib-users] Can't import pyplot, symbol not found error instead

2010-10-05 Thread Åke Kullenberg
The gcc-4.0/4.2 issue was the key to the problem. I did this and matplotlib got installed without any issue, and I could import pyplot ok. * First I set 'export CC=gcc-4.0' * In the same terminal I ran the usual configure/make/make install for libpng and freetype * I then rebuilt matplotlib the us

Re: [Matplotlib-users] Compilation Error

2010-10-05 Thread Friedrich Romstedt
2010/10/5 Friedrich Romstedt : >> basedirlist is: [] > > Here is your issue.  Please check the archives of the matplotlib-users > list for the recent threads on compiling and Mac OS X (10.6 in > particular). I assumed that you have freetype2 etc. installed with headers (not the shared libs only).

Re: [Matplotlib-users] Compilation Error

2010-10-05 Thread Friedrich Romstedt
2010/10/4 Sanjay Kairam : > Hi there, > > I'm having a problem installing matplotlib, I'm guessing that I am missing > some dependency, but I am having trouble figuring out what the issue is (I > don't have a ton of experience dealing with python libraries and > troubleshooting install issues). > >