Re: [Matplotlib-users] mpl UML?

2010-03-21 Thread Ryan May
On Sun, Mar 21, 2010 at 3:35 PM, David Carmean 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 invent. > > One of

[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 g

[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

Re: [Matplotlib-users] AssertionError without further description

2010-03-21 Thread Ryan May
On Sun, Mar 21, 2010 at 1:36 PM, Eric Firing 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 we >> should

[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 > 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 relevant code: [code]

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 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 relevant code: > [code] > > for i in range( 0, time + 1 ): > >outflow = constant * quantity > >quant

Re: [Matplotlib-users] Using colourmap from matplotlib

2010-03-21 Thread Friedrich Romstedt
2010/3/20 Ciarán Mooney : > 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]) / figure.dpi) canvas = mat

[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( quantityCh

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 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 c

Re: [Matplotlib-users] AssertionError without further description

2010-03-21 Thread Ryan May
On Sun, Mar 21, 2010 at 12:23 PM, Martin Bothe 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 everything manually

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 can

Re: [Matplotlib-users] AssertionError without further description

2010-03-21 Thread Ryan May
On Sun, Mar 21, 2010 at 6:17 AM, Martin Bothe 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 > > Anyway, I tried the mult

[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 http://www.scipy.org/Cookbook/Matplotlib/

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 nu