Re: [Matplotlib-users] [matplotlib] strange bar graph - can mpl plot this

2010-07-21 Thread Benjamin Koep
Hello João, this was really helpful. I really appreciate your work. Thanks so far, Ben On Wed, 21 Jul 2010 13:19:21 +0100 João Luís Silva wrote: > On 07/21/2010 12:27 PM, Benjamin Koep wrote: > > Hello, > > > > I got a big problem currently and i really hope that someone here > > can help me

Re: [Matplotlib-users] matplotlib1.0 via easy_install

2010-07-21 Thread Andreas
>> Hi there, >> >> I try to install matplotlib 1.0 via easy install. But a simple >> >> easy_install -U matplotlib >> >> produces this, effectively installing 0.99.1 >> >> Searching for matplotlib >> Reading http://pypi.python.org/simple/matplotlib/ >> Reading http://matplotlib.sourceforge.

Re: [Matplotlib-users] Potential Bug with SpanSelector

2010-07-21 Thread Eric Firing
On 07/21/2010 09:11 AM, Aman Thakral wrote: > Ok, so I've fixed it. Its just because the mouse goes outside the axes. > How do I make the change in the code? > > Error: line 924 in widgets.py > > old code: > > x,y = event.xdata, event.ydata > > fixed code: > > if not event.xdata is None: > x =

Re: [Matplotlib-users] Potential Bug with SpanSelector

2010-07-21 Thread John Hunter
On Wed, Jul 21, 2010 at 2:11 PM, Aman Thakral wrote: > Ok, so I've fixed it. Its just because the mouse goes outside the axes.  How > do I make the change in the code? > > Error: line 924 in widgets.py > > old code: > > x,y = event.xdata, event.ydata > > fixed code: > > if not event.xdata is None:

Re: [Matplotlib-users] matplotlib1.0 via easy_install

2010-07-21 Thread John Hunter
On Wed, Jul 21, 2010 at 5:06 PM, Andreas wrote: > Hi there, > > I try to install matplotlib 1.0 via easy install. But a simple > >   easy_install -U matplotlib > > produces this, effectively installing 0.99.1 > >   Searching for matplotlib >   Reading http://pypi.python.org/simple/matplotlib/ >  

Re: [Matplotlib-users] Plot() : IndexError: index out of range for array

2010-07-21 Thread John Hunter
On Wed, Jul 21, 2010 at 10:05 AM, alberttresens wrote: > > I am getting this trace when trying to plot. I tried all possible > combinations in the plot parameters, always the same. Can someone recon what > is happening? > > Traceback (most recent call last): >  File "gcview.py", line 226, in >  

Re: [Matplotlib-users] Plot() traceback issue

2010-07-21 Thread John Hunter
On Wed, Jul 21, 2010 at 9:16 AM, alberttresens wrote: > I am trying to do a plot, and getting and out of index, I am not sure what > is reason. I tried all combinations even with empty arrays and possible > indexes. Always the same. Any one can recon what is happening from the > trace? Traceback (

[Matplotlib-users] Plot() traceback issue

2010-07-21 Thread alberttresens
I am trying to do a plot, and getting and out of index, I am not sure what is reason. I tried all combinations even with empty arrays and possible indexes. Always the same. Any one can recon what is happening from the trace? Traceback (most recent call last): File "gcview.py", line 226, in

[Matplotlib-users] Plot() : IndexError: index out of range for array

2010-07-21 Thread alberttresens
I am getting this trace when trying to plot. I tried all possible combinations in the plot parameters, always the same. Can someone recon what is happening? Traceback (most recent call last): File "gcview.py", line 226, in main() File "gcview.py", line 222, in main drawGraph(timeStam

[Matplotlib-users] matplotlib1.0 via easy_install

2010-07-21 Thread Andreas
Hi there, I try to install matplotlib 1.0 via easy install. But a simple easy_install -U matplotlib produces this, effectively installing 0.99.1 Searching for matplotlib Reading http://pypi.python.org/simple/matplotlib/ Reading http://matplotlib.sourceforge.net Reading http://sou

Re: [Matplotlib-users] Matplotlib-users Digest, Vol 50, Issue 37

2010-07-21 Thread Michael Droettboom
I'm not sure I understand the question. Are there any error messages produced? Have you read this (about using matplotlib on a web server)? http://matplotlib.sourceforge.net/faq/howto_faq.html#matplotlib-in-a-web-application-server Mike On 07/21/2010 03:30 PM, Waléria Antunes David wrote: H

Re: [Matplotlib-users] Matplotlib-users Digest, Vol 50, Issue 37

2010-07-21 Thread Waléria Antunes David
Hello... I'm trying to use this to format the numbers (3000,3400) of the x axis, however when i do in the ILDE Python it's work.but if i do using Django as bellow the image doesn't appearlook IDLE Python: http://pastebin.com/q7FnHhPw Using Django: http://pastebin.com/GrcMP9iA Help me...

Re: [Matplotlib-users] Potential Bug with SpanSelector

2010-07-21 Thread Aman Thakral
Ok, so I've fixed it. Its just because the mouse goes outside the axes. How do I make the change in the code? Error: line 924 in widgets.py old code: x,y = event.xdata, event.ydata fixed code: if not event.xdata is None: x = event.xdata else: x = self.prev[0] if not event.ydata is No

Re: [Matplotlib-users] Potential Bug with SpanSelector

2010-07-21 Thread Aman Thakral
Update on the error. It occurs in the following cases: - User clicks and drags from left to right and approaches the edge of the right side of the axes - User clicks and drags from right to left and approaches the edge of the left side of the axes I'm working on this bug now, I'll see if I can fi

[Matplotlib-users] save image as color-mapped 8-bit rather than true-color

2010-07-21 Thread Jim Vickroy
Hello All, Using matplotlib, how can an image be saved as color-mapped 8-bit rather than as true-color? Thanks, -- jv -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? V

[Matplotlib-users] Potential Bug with SpanSelector

2010-07-21 Thread Aman Thakral
Hi all, I'm getting the following exception when I use the Span Selector. It happens when I try and select the entire region. Exception in Tkinter callback Traceback (most recent call last): File "C:\Python26\lib\lib-tk\Tkinter.py", line 1410, in __call__ return self.func(*args) File "C

Re: [Matplotlib-users] Double y-axis with the same 0

2010-07-21 Thread Thøger Emil Juul Thorsen
That really depends on what you want to do. For one single graph with these specific values, it is quick and easy and hence very satisfying *if that is what you need*. No need to go across the river for water. But, Daniele came up with a different and more sturdy solution (that I have used in scr

Re: [Matplotlib-users] [matplotlib] strange bar graph - can mpl plot this

2010-07-21 Thread João Luís Silva
On 07/21/2010 12:27 PM, Benjamin Koep wrote: Hello, I got a big problem currently and i really hope that someone here can help me. I am working on some graphs that are integrated into a django app. So far no problem. I had really no experience with matplotlib before but i managed to create 2 of

[Matplotlib-users] [matplotlib] strange bar graph - can mpl plot this

2010-07-21 Thread Benjamin Koep
Hello, I got a big problem currently and i really hope that someone here can help me. I am working on some graphs that are integrated into a django app. So far no problem. I had really no experience with matplotlib before but i managed to create 2 of 3 graph types the way our graphics designer w