Re: [Matplotlib-users] toolbar

2010-03-21 Thread Philippe Crave
without the svn version, you can save both files. edit figureoptions.py to modify the import: #import matplotlib.backends.qt4_editor.formlayout as formlayout import formlayout then, you can attach the nice dialog box to a Event, something like that works: import matplotlib.pyplot as plt import

[Matplotlib-users] AssertionError without further description

2010-03-21 Thread Martin Bothe
Hello matplotlib-community, I'm using matplotlib since a while, but have never had a real reason to write to the mailing-list yet. Furthermore I know, that the Cookbook at scipy.org is more or less outdated Anyway, I tried the multicolored Line example at

Re: [Matplotlib-users] AssertionError without further description

2010-03-21 Thread Ryan May
On Sun, Mar 21, 2010 at 6:17 AM, Martin Bothe martin.bo...@googlemail.com wrote: Hello matplotlib-community, I'm using matplotlib since a while, but have never had a real reason to write to the mailing-list yet. Furthermore I know, that the Cookbook at scipy.org is more or less outdated

Re: [Matplotlib-users] AssertionError without further description

2010-03-21 Thread Martin Bothe
Hey Ryan, thanks for your answer. Ashamed I have to realize that the example works for me as well. When I tried it the first time, I had no pc featuring both internet and a matplotlib installation, so I had to copy everything manually. It seems I skipped a line or whatever. In the gallery, I

Re: [Matplotlib-users] AssertionError without further description

2010-03-21 Thread Ryan May
On Sun, Mar 21, 2010 at 12:23 PM, Martin Bothe martin.bo...@bam.de wrote: Hey Ryan, thanks for your answer. Ashamed I have to realize that the example works for me as well. When I tried it the first time, I had no pc featuring both internet and a matplotlib installation, so I had to copy

Re: [Matplotlib-users] AssertionError without further description

2010-03-21 Thread Eric Firing
Ryan May wrote: On Sun, Mar 21, 2010 at 12:23 PM, Martin Bothe martin.bo...@bam.de wrote: Hey Ryan, thanks for your answer. Ashamed I have to realize that the example works for me as well. When I tried it the first time, I had no pc featuring both internet and a matplotlib installation, so I

[Matplotlib-users] ValueError: x and y must have same first dimension

2010-03-21 Thread AG
Hi List I cannot figure out how to satisfy this issue to resolve the ValueError: x and y must have same first dimension. This is the relevant code: [code] for i in range( 0, time + 1 ): outflow = constant * quantity quantityChange = inflow - outflow changeList.append(

Re: [Matplotlib-users] Using colourmap from matplotlib

2010-03-21 Thread Friedrich Romstedt
2010/3/20 Ciarán Mooney general.moo...@googlemail.com: I am using PIL because I plan to plug in a Tkinter interface which can directly accept PIL image instances. You can render matplotlib figures to PIL using following code: figure.set_size_inches(float(shape[0]) / figure.dpi, float(shape[1])

Re: [Matplotlib-users] ValueError: x and y must have same first dimension

2010-03-21 Thread Gökhan Sever
On Sun, Mar 21, 2010 at 1:57 PM, AG computing.acco...@googlemail.comwrote: Hi List I cannot figure out how to satisfy this issue to resolve the ValueError: x and y must have same first dimension. This is the relevant code: [code] for i in range( 0, time + 1 ): outflow = constant *

[Matplotlib-users] [SOLVED] Re: ValueError: x and y must have same first dimension

2010-03-21 Thread AG
Gökhan Sever wrote: On Sun, Mar 21, 2010 at 1:57 PM, AG computing.acco...@googlemail.com mailto:computing.acco...@googlemail.com wrote: Hi List I cannot figure out how to satisfy this issue to resolve the ValueError: x and y must have same first dimension. This is the

Re: [Matplotlib-users] AssertionError without further description

2010-03-21 Thread Ryan May
On Sun, Mar 21, 2010 at 1:36 PM, Eric Firing efir...@hawaii.edu wrote: Ryan May wrote: That's because it wasn't there. :)  I've ported it to make better use of matplotlib facilities that are now available and added it to SVN. In general, however, the gallery is the best place to look because

[Matplotlib-users] 'import pylab' error

2010-03-21 Thread Scott Riccardelli
Hi, Python crashes on one of my computers when I execute: *import pylab* All I need to do is execute this one line of code and poof. A dialog pops up stating that python.exe has encountered a problem and needs to close. We are sorry for the inconvenience I installed matplotlib version 0.99.1

[Matplotlib-users] mpl UML?

2010-03-21 Thread David Carmean
Has anyone seen/created any UML models/diagrams for Matplotlib? I'm currently doing so to help me understand how to use it in an application, but wondered if somebody has already built the wheel that I'm trying to invent. One of the things I'm trying to figure out is whether I can build a

Re: [Matplotlib-users] mpl UML?

2010-03-21 Thread Ryan May
On Sun, Mar 21, 2010 at 3:35 PM, David Carmean dlc-...@halibut.com wrote: Has anyone seen/created any UML models/diagrams for Matplotlib? I'm currently doing so to help me understand how to use it in an application, but wondered if somebody has already built the wheel that I'm trying to