Re: [Matplotlib-users] show() does not pop up a window

2012-03-14 Thread Benjamin Root
Michael, Sorry for not getting back to you sooner. Your email got a little buried in my inbox. From your build log, most of the dependencies for the backends are not available. Surprisingly, not even Tkinter. Could you take a look at this page and see if automatically installing dependencies h

Re: [Matplotlib-users] show() does not pop up a window

2012-02-21 Thread Benjamin Root
atplotlib-users@lists.sourceforge.net');>" < > matplotlib-users@lists.sourceforge.net 'matplotlib-users@lists.sourceforge.net');>> > *Sent:* Tuesday, February 21, 2012 3:37 PM > *Subject:* Re: [Matplotlib-users] show() does not pop up a window > > >

Re: [Matplotlib-users] show() does not pop up a window

2012-02-21 Thread Michael Rawlins
From: Benjamin Root To: Michael Rawlins Cc: "matplotlib-users@lists.sourceforge.net" Sent: Tuesday, February 21, 2012 3:37 PM Subject: Re: [Matplotlib-users] show() does not pop up a window On Tue, Feb 21, 2012 at 2:28 PM, Michael Rawl

Re: [Matplotlib-users] show() does not pop up a window

2012-02-21 Thread Benjamin Root
On Tue, Feb 21, 2012 at 2:28 PM, Michael Rawlins wrote: > > I've just installed numpy 1.6 and matplotlib 1.0.0 from source code on two > linux machines, both running linux Ubuntu OS with python installed from > Synaptic Package Manager. I've noticed no anomalies one machine. On the > second machin

Re: [Matplotlib-users] show() does not pop up a window

2012-02-21 Thread Eric Firing
On 02/21/2012 10:28 AM, Michael Rawlins wrote: > > I've just installed numpy 1.6 and matplotlib 1.0.0 from source code on > two linux machines, both running linux Ubuntu OS with python installed > from Synaptic Package Manager. I've noticed no anomalies one machine. On > the second machine, graphic

[Matplotlib-users] show() does not pop up a window

2012-02-21 Thread Michael Rawlins
I've just installed numpy 1.6 and matplotlib 1.0.0 from source code on two linux machines, both running linux Ubuntu OS with python installed from Synaptic Package Manager. I've noticed no anomalies one machine. On the second machine, graphic window does not pop up. I'm run python non-interact

Re: [Matplotlib-users] Show custom tool on NavToolbar staying pressed in

2012-02-01 Thread C M
On Wed, Feb 1, 2012 at 5:25 PM, C M wrote: > The standard navigation toolbar has tools that press in and stay pressed > to put the interation into a "mode", like zoom mode or pan mode. You press > the zoom tool, it stays shown as pressed in while it's in that mode. > CORRECTION: My mistake, it

[Matplotlib-users] Show custom tool on NavToolbar staying pressed in

2012-02-01 Thread C M
The standard navigation toolbar has tools that press in and stay pressed to put the interation into a "mode", like zoom mode or pan mode. You press the zoom tool, it stays shown as pressed in while it's in that mode. I am trying to add a new custom tool to the toolbar, and want it to put things i

Re: [Matplotlib-users] show density in scatter

2011-05-18 Thread Neal Becker
Eric Firing wrote: > On 05/18/2011 09:01 AM, Neal Becker wrote: >> Using scatter, it seems less probably (numerous) points show just as much as >> more probable points. Can anyone suggest a good way to emphasize the more >> probable points? > > This is what hexbin is for, although it takes the a

Re: [Matplotlib-users] show density in scatter

2011-05-18 Thread Eric Firing
On 05/18/2011 09:01 AM, Neal Becker wrote: > Using scatter, it seems less probably (numerous) points show just as much as > more probable points. Can anyone suggest a good way to emphasize the more > probable points? Another idea: set alpha to something less than 1, maybe something like 0.3; the

Re: [Matplotlib-users] show density in scatter

2011-05-18 Thread Justin McCann
On Wed, May 18, 2011 at 3:01 PM, Neal Becker wrote: > Using scatter, it seems less probably (numerous) points show just as much > as > more probable points. Can anyone suggest a good way to emphasize the more > probable points? > > I was thinking maybe the easy way is just scale down the markers

Re: [Matplotlib-users] show density in scatter

2011-05-18 Thread Eric Firing
On 05/18/2011 09:01 AM, Neal Becker wrote: > Using scatter, it seems less probably (numerous) points show just as much as > more probable points. Can anyone suggest a good way to emphasize the more > probable points? This is what hexbin is for, although it takes the additional step of showing po

[Matplotlib-users] show density in scatter

2011-05-18 Thread Neal Becker
Using scatter, it seems less probably (numerous) points show just as much as more probable points. Can anyone suggest a good way to emphasize the more probable points? I was thinking maybe the easy way is just scale down the markers. Drawback may be too many points plotted. Colors would be n

Re: [Matplotlib-users] show(), the state of the art

2010-11-03 Thread Benjamin Root
On Wed, Nov 3, 2010 at 2:19 AM, Michiel de Hoon wrote: > --- On *Tue, 11/2/10, Benjamin Root * wrote: > > I have personally seen significant progress in this area, but there are a > few backends that aren't quite right (MacOSX backend, I believe?). > > As far as I know, show() is working correctl

Re: [Matplotlib-users] show(), the state of the art

2010-11-03 Thread Michiel de Hoon
--- On Tue, 11/2/10, Benjamin Root wrote: I have personally seen significant progress in this area, but there are a few backends that aren't quite right (MacOSX backend, I believe?). As far as I know, show() is working correctly in the MacOSX backend. If you encountered a case where the backen

Re: [Matplotlib-users] show(), the state of the art

2010-11-02 Thread Eric Firing
On 11/02/2010 04:39 AM, Alan G Isaac wrote: On 11/2/2010 10:06 AM, Benjamin Root wrote: I have personally seen significant progress in this area, but there are a few backends that aren't quite right (MacOSX backend, I believe?). I believe multiple uses of ``show`` fail and are expected to fa

Re: [Matplotlib-users] show(), the state of the art

2010-11-02 Thread Alan G Isaac
On 11/2/2010 10:06 AM, Benjamin Root wrote: > I have personally seen significant progress in this area, but there are a few > backends that aren't quite right (MacOSX backend, I believe?). I believe multiple uses of ``show`` fail and are expected to fail for the foreseeable future when using IDL

Re: [Matplotlib-users] show(), the state of the art

2010-11-02 Thread Benjamin Root
On Tue, Nov 2, 2010 at 8:31 AM, Daπid wrote: > On Tue, Nov 2, 2010 at 12:49 PM, David Kremer > wrote: > > Personally I used show() yesterday, and it blocks the execution until > > the figure's window is closed. It is of perfect convenience I think, > > as a default behavior. > > Yes, this is the

Re: [Matplotlib-users] show(), the state of the art

2010-11-02 Thread Daπid
On Tue, Nov 2, 2010 at 12:49 PM, David Kremer wrote: > Personally I used show() yesterday, and it blocks the execution until > the figure's window is closed. It is of perfect convenience I think, > as a default behavior. Yes, this is the optimal behavior, but it is not fully implemented, as seen

Re: [Matplotlib-users] show(), the state of the art

2010-11-02 Thread David Kremer
2010/11/2 Michael Droettboom : > On 11/02/2010 07:49 AM, David Kremer wrote: >> Personally I used show() yesterday, and it blocks the execution until >> the figure's window is closed. It is of perfect convenience I think, >> as a default behavior. >> >> However, I would like to add an option to sho

Re: [Matplotlib-users] show(), the state of the art

2010-11-02 Thread Michael Droettboom
On 11/02/2010 07:49 AM, David Kremer wrote: > Personally I used show() yesterday, and it blocks the execution until > the figure's window is closed. It is of perfect convenience I think, > as a default behavior. > > However, I would like to add an option to show() like eg : > > >> show( save_im

Re: [Matplotlib-users] show(), the state of the art

2010-11-02 Thread David Kremer
Personally I used show() yesterday, and it blocks the execution until the figure's window is closed. It is of perfect convenience I think, as a default behavior. However, I would like to add an option to show() like eg : > show( save_image = True , format = 'eps' ) As it permits to mix the two b

[Matplotlib-users] show(), the state of the art

2010-11-02 Thread Daπid
Hello. It is stated that show() should be the last function in a script, as long as it will stop the execution of the program. Nevertheless, I have seen that the current behavior is just a pause in the flow, and it will be restored when the window is closed. The documentation says: "Many users a

Re: [Matplotlib-users] show() command does not create plot with agg, only with wx

2010-10-07 Thread Benjamin Root
On Thu, Oct 7, 2010 at 7:55 PM, Jacob Silterra wrote: > Hello, > > The only backend which works on my machine is wx. > The problem I was having was that matplotlib installed fine, but didn't > show plots. I tried removing matplotlib and re-installing, > that didn't help. I was using the Agg backe

[Matplotlib-users] show() command does not create plot with agg, only with wx

2010-10-07 Thread Jacob Silterra
Hello, The only backend which works on my machine is wx. The problem I was having was that matplotlib installed fine, but didn't show plots. I tried removing matplotlib and re-installing, that didn't help. I was using the Agg backend and figure windows did not get created. Cairo doesn't work eithe

Re: [Matplotlib-users] show() blocks script execution for TkAgg from ipython -pylab

2010-08-11 Thread Ryan Krauss
This worked perfectly. Thanks Christoph. Ryan On Wed, Aug 11, 2010 at 11:35 AM, Christoph Gohlke wrote: > Ryan: you could try matplotlib-1.0.0.svn.win32-py2.6.exe from > http://www.lfd.uci.edu/~gohlke/pythonlibs/#matplotlib .It was built this > morning from svn. > > Christoph > > On 8/11/2010 7

Re: [Matplotlib-users] show() blocks script execution for TkAgg from ipython -pylab

2010-08-11 Thread Christoph Gohlke
Ryan: you could try matplotlib-1.0.0.svn.win32-py2.6.exe from http://www.lfd.uci.edu/~gohlke/pythonlibs/#matplotlib .It was built this morning from svn. Christoph On 8/11/2010 7:26 AM, Ryan Krauss wrote: > 0.99.3 is more or less fine, but there is an annoying exception window > that pops up if

Re: [Matplotlib-users] show() blocks script execution for TkAgg from ipython -pylab

2010-08-11 Thread Ryan Krauss
0.99.3 is more or less fine, but there is an annoying exception window that pops up if you close IPython with a plot window open (using the TkAgg backend). But in my mind this is less bothersome than having to close all the plot windows every time I run a script (I tend to write scripts that gener

Re: [Matplotlib-users] show() blocks script execution for TkAgg from ipython -pylab

2010-08-11 Thread Ryan Krauss
Thanks. I need to role out a python install for my students. Classes start in a week and a half. What should I do? The installation for most of them needs to be fairly simple. Thanks, Ryan On Wed, Aug 11, 2010 at 2:25 AM, Eric Firing wrote: > On 08/10/2010 05:43 PM, Ryan Krauss wrote: >> I

Re: [Matplotlib-users] show() blocks script execution for TkAgg from ipython -pylab

2010-08-11 Thread Eric Firing
On 08/10/2010 05:43 PM, Ryan Krauss wrote: > I just upgraded my windows machine to matplotlib 1.0.0 and a simple > script such as > > from pylab import * > from scipy import * > > t = arange(0,1,0.01) > y = sin(2*pi*t) > > figure(1) > clf() > plot(t,y) > > show() > > Now halts execution when run fr

Re: [Matplotlib-users] show() blocks script execution for TkAgg from ipython -pylab

2010-08-10 Thread Ryan Krauss
In case this is helpful: E:\>C:\Python26\python.exe ipython_show_test.py --verbose-debug $HOME=D:\ CONFIGDIR=D:\.matplotlib matplotlib data path C:\Python26\lib\site-packages\matplotlib\mpl-data loaded rc file D:\.matplotlib\matplotlibrc matplotlib version 1.0.0 verbose.level debug interactive is

[Matplotlib-users] show() blocks script execution for TkAgg from ipython -pylab

2010-08-10 Thread Ryan Krauss
I just upgraded my windows machine to matplotlib 1.0.0 and a simple script such as from pylab import * from scipy import * t = arange(0,1,0.01) y = sin(2*pi*t) figure(1) clf() plot(t,y) show() Now halts execution when run from the ipython -pylab prompt. The same commands typed at the commandl

Re: [Matplotlib-users] show legend without box ?

2010-07-01 Thread John Hunter
On Thu, Jul 1, 2010 at 1:50 PM, Forest Yang wrote: > Hi All, > >  Is there any way to show the legend but without the box ? it is > blocking the figures. Although I can set the alpha to make the legend > transparent, still remove the box and make it transparent would be > better. Just as you can

[Matplotlib-users] show legend without box ?

2010-07-01 Thread Forest Yang
Hi All, Is there any way to show the legend but without the box ? it is blocking the figures. Although I can set the alpha to make the legend transparent, still remove the box and make it transparent would be better. Thanks. Forest. -

Re: [Matplotlib-users] Show() in emacs

2010-05-26 Thread Ted Rosenbaum
Jonn-- Thanks very much. Customizing the backend to TkAgg solved the problem. Chloe--thanks for your advice as well! On Wed, May 26, 2010 at 3:21 PM, John Hunter wrote: > On Tue, May 25, 2010 at 10:40 PM, Ted Rosenbaum > wrote: > > Hi, > > I am a real newbie at matplotlib, so I apologize if t

Re: [Matplotlib-users] Show() in emacs

2010-05-26 Thread John Hunter
On Tue, May 25, 2010 at 10:40 PM, Ted Rosenbaum wrote: > Hi, > I am a real newbie at matplotlib, so I apologize if this is an obvious > question. > I am running ipython in emacs and while the first time I use the show() > command in the ipython buffer the graph shows up fine, subsequent times that

Re: [Matplotlib-users] Show() in emacs

2010-05-26 Thread Chloe Lewis
My near-newbie suspicion is that you're using more tools than you need and having them interfere with each other. The show() command generally doesn't return control to whatever called it until you've closed the shown window (http://bytes.com/topic/python/answers/635142-matplotlib-basic-que

[Matplotlib-users] Show() in emacs

2010-05-25 Thread Ted Rosenbaum
Hi, I am a real newbie at matplotlib, so I apologize if this is an obvious question. I am running ipython in emacs and while the first time I use the show() command in the ipython buffer the graph shows up fine, subsequent times that I call the command it, the graph does not show up. I am on ubunt

Re: [Matplotlib-users] show() at the end of each function of an ensemble of scripts

2010-05-03 Thread Antony Lee
I'm using wxagg, but actually it's working now... I put show()s a bit everywhere in my code so I must confess I don't really know how it's working, though I'll probably have to go back and clean the mess at some point. Antony 2010/4/22 Michiel de Hoon > Actually which backend are you using? I'd

Re: [Matplotlib-users] show() at the end of each function of an ensemble of scripts

2010-04-22 Thread Michiel de Hoon
Actually which backend are you using? I'd like to try this to see what happens if show() is called more than once. --Michiel. --- On Tue, 4/20/10, Antony Lee wrote: That would be a solution, indeed.  However, is there really no way of coming back to a pre-plt.show() state once all windows are

Re: [Matplotlib-users] show() at the end of each function of an ensemble of scripts

2010-04-20 Thread Michiel de Hoon
ith other backends. --Michiel --- On Tue, 4/20/10, Alan G Isaac wrote: > From: Alan G Isaac > Subject: Re: [Matplotlib-users] show() at the end of each function of an > ensemble of scripts > To: matplotlib-users@lists.sourceforge.net > Date: Tuesday, April

Re: [Matplotlib-users] show() at the end of each function of an ensemble of scripts

2010-04-20 Thread Alan G Isaac
http://matplotlib.sourceforge.net/faq/howto_faq.html#use-show hth, Alan Isaac -- ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourcefo

Re: [Matplotlib-users] show() at the end of each function of an ensemble of scripts

2010-04-20 Thread Michiel de Hoon
--- On Tue, 4/20/10, Ryan May wrote: > Antony Lee wrote: > > That would be a solution, indeed.  However, is there > > really no way of coming back to a pre-plt.show() state > > once all windows are closed?  What kind of > > irreversible things does plt.show() do? > > It starts the GUI toolkit ev

Re: [Matplotlib-users] show() at the end of each function of an ensemble of scripts

2010-04-20 Thread Christopher Barker
Antony Lee wrote: > Well, the problem isn't there (I believe). The workflow I'd like to > implement is that, for example the user does some data processing (in > ipython), plots some data (I need a show() here), closes the plot > window, does some other data processing (in ipython), I'm bit co

Re: [Matplotlib-users] show() at the end of each function of an ensemble of scripts

2010-04-20 Thread Antony Lee
2010/4/20 Ryan May > On Tue, Apr 20, 2010 at 4:44 PM, Antony Lee wrote: > > That would be a solution, indeed. However, is there really no way of > coming > > back to a pre-plt.show() state once all windows are closed? What kind of > > irreversible things does plt.show() do? > > It starts the G

Re: [Matplotlib-users] show() at the end of each function of an ensemble of scripts

2010-04-20 Thread Ryan May
On Tue, Apr 20, 2010 at 4:44 PM, Antony Lee wrote: > That would be a solution, indeed.  However, is there really no way of coming > back to a pre-plt.show() state once all windows are closed?  What kind of > irreversible things does plt.show() do? It starts the GUI toolkit event loop, which start

Re: [Matplotlib-users] show() at the end of each function of an ensemble of scripts

2010-04-20 Thread Antony Lee
That would be a solution, indeed. However, is there really no way of coming back to a pre-plt.show() state once all windows are closed? What kind of irreversible things does plt.show() do? Thanks, Antony 2010/4/20 Ryan May > On Tue, Apr 20, 2010 at 11:38 AM, Antony Lee wrote: > > Hello, > > >

Re: [Matplotlib-users] show() at the end of each function of an ensemble of scripts

2010-04-20 Thread Ryan May
On Tue, Apr 20, 2010 at 11:38 AM, Antony Lee wrote: > Hello, > > I'm currently writing a specialized image processing package using > Matplotlib. The goal would be to let users use it interactively from an > ipython console. > So I have some functions for selecting points on plots (via > "button_p

[Matplotlib-users] show() at the end of each function of an ensemble of scripts

2010-04-20 Thread Antony Lee
Hello, I'm currently writing a specialized image processing package using Matplotlib. The goal would be to let users use it interactively from an ipython console. So I have some functions for selecting points on plots (via "button_press_event"), and others for data plotting (and also for data proc

[Matplotlib-users] Show pixelated image using imshow

2010-02-25 Thread Sebastian Rhode
Hi, I would like to show an image using the imshow function. Thsi is quite trivial, but what I acn not figure out so far, is how to display the image without any interpolation. For my application it is useful to really see the individaul pixel and the borders between them. Setting interpolation=No

Re: [Matplotlib-users] Show pixelated image using imshow

2010-02-25 Thread Eric Firing
Sebastian Rhode wrote: > Hi, > > I would like to show an image using the imshow function. Thsi is quite > trivial, but what I acn not figure out so far, is how to display the > image without any interpolation. For my application it is useful to > really see the individaul pixel and the borders

[Matplotlib-users] show and savefig : cannot convert float NaN to integer

2010-02-18 Thread Abhishek Tiwari
Hi everyone, I am very new to Python and Matplotlib, so it might be easier than I think. I am doing something like this: y = np.zeros((len(array1),len(array2)), dtype=float) for i in range(len(y)): y[i][i]= array2[i] for i in range(len(y)): plt.plot(array1, y[i]) #plt.sav

[Matplotlib-users] show() Me the Way to Go Home (IDLE/Win)

2010-02-07 Thread Wayne Watson
Note the show() on the last line below. If I run this program from IDLE, it displays the graph, and sits there. I would like to finish, by getting to an active shell script. If I close the figure using x in the upper right, it disappears. Now two windows are seen. The code and script window.

Re: [Matplotlib-users] show() problem in Mac OS X 10.5.8

2009-08-22 Thread Alan G Isaac
On 8/22/2009 2:42 AM Michiel de Hoon apparently wrote: > Does anybody know why the show._needmain stuff is needed in the show() > function in backend_tkagg.py?... > If I remove the show._needmain stuff ... > then the function still seems to work fine, and multiple show()s also works. Define "work

Re: [Matplotlib-users] show() problem in Mac OS X 10.5.8

2009-08-21 Thread Michiel de Hoon
if rcParams['tk.pythoninspect']: os.environ['PYTHONINSPECT'] = '1' Tk.mainloop() then the function still seems to work fine, and multiple show()s also works. --Michiel. --- On Thu, 8/20/09, Kim, Dae-Won wrote: > From: Kim, Dae-Won >

Re: [Matplotlib-users] show() problem in Mac OS X 10.5.8

2009-08-20 Thread Kim, Dae-Won
using. > > --Michiel. > > --- On Wed, 8/19/09, Kim, Dae-Won wrote: > > > From: Kim, Dae-Won > > Subject: Re: [Matplotlib-users] show() problem in Mac OS X 10.5.8 > > To: "Ryan May" > > Cc: matplotlib-users@lists.sourceforge.net > > Date: Wednesday,

Re: [Matplotlib-users] show() problem in Mac OS X 10.5.8

2009-08-20 Thread Michiel de Hoon
solution to get that working for the backend you are using. --Michiel. --- On Wed, 8/19/09, Kim, Dae-Won wrote: > From: Kim, Dae-Won > Subject: Re: [Matplotlib-users] show() problem in Mac OS X 10.5.8 > To: "Ryan May" > Cc: matplotlib-users@lists.sourceforge.net > D

Re: [Matplotlib-users] show() problem in Mac OS X 10.5.8

2009-08-19 Thread Kim, Dae-Won
The one 'preliminary' solution I found is using an interactive mode + raw_input. Here is and example, ion() plot([1,2,3,4,5]) raw_input('Type Enter') clf() plot([1,2,3,4,5]) raw_input('Type_Enter') clf() plot([1,2,3,4,5]) sho

Re: [Matplotlib-users] show() problem in Mac OS X 10.5.8

2009-08-19 Thread Kim, Dae-Won
On Wed, Aug 19, 2009 at 1:02 PM, Ryan May wrote: > On Wed, Aug 19, 2009 at 11:55 AM, coati wrote: > >> >> I have a problem with show() command in my macbook machine (Leopard >> 10.5.8). >> For example, if I run the script shown below >> (let assume it is saved as 'test.py', and I run a command

Re: [Matplotlib-users] show() problem in Mac OS X 10.5.8

2009-08-19 Thread Ryan May
On Wed, Aug 19, 2009 at 11:55 AM, coati wrote: > > I have a problem with show() command in my macbook machine (Leopard > 10.5.8). > For example, if I run the script shown below > (let assume it is saved as 'test.py', and I run a command 'python > test.py'), > > --

[Matplotlib-users] show() problem in Mac OS X 10.5.8

2009-08-19 Thread coati
I have a problem with show() command in my macbook machine (Leopard 10.5.8). For example, if I run the script shown below (let assume it is saved as 'test.py', and I run a command 'python test.py'), --- plot([1,2,3,4,5]) show() #first window plot([1,2,3,4,5]

Re: [Matplotlib-users] show figures in a loop

2009-08-02 Thread Janwillem
Thanks for the hint, I now have: #figure is a matplotlib Figure #bitmap is a wx.StaticBitmap w_figure, h_figure = figure.get_size_inches() w_bitmap, h_bitmap = bitmap.GetSize() dpi = int(min(w_bitmap/w_figure,h_bitmap/h_figure)) figure.set_dpi(dpi)

Re: [Matplotlib-users] show figures in a loop

2009-08-02 Thread John Hunter
On Sun, Aug 2, 2009 at 8:14 AM, Janwillem wrote: > > The problem: > I have files with time versus signal data of a large series of measurements. > The python application (using wxPython actually) scans the file, applies > some math (numpy/scipy) on each record of data and than must show the signal

Re: [Matplotlib-users] show figures in a loop

2009-08-02 Thread Janwillem
The problem: I have files with time versus signal data of a large series of measurements. The python application (using wxPython actually) scans the file, applies some math (numpy/scipy) on each record of data and than must show the signal as a plot. After clicking OK the next record of measuremen

Re: [Matplotlib-users] show figures in a loop

2009-08-02 Thread Sandro Tosi
Hello Janwillem, On Sun, Aug 2, 2009 at 14:11, Janwillem wrote: > > I have an application where I would like to use show in a loop but as stated > in 18.1 of the manual that does not work. > # WARNING : illustrating how NOT to use show > for i in range(10): >    # make figure i >    show() call s

[Matplotlib-users] show figures in a loop

2009-08-02 Thread Janwillem
I have an application where I would like to use show in a loop but as stated in 18.1 of the manual that does not work. # WARNING : illustrating how NOT to use show for i in range(10): # make figure i show() So I made a workaround in a custom wxDialog with a wxStaticBitmap and a few buttons

Re: [Matplotlib-users] show scaled image (matlab imagesc)

2009-05-10 Thread Ryan May
On Sun, May 10, 2009 at 8:33 AM, Sahar wrote: > Hello, > > Is it possible to autoscale the color map of an image (as in > matlab's 'imagesc')? > I'm using imshow and I can use vmin and vmax but than I have to set these > values manually. > If you don't give it a range, it should autoscale by it

[Matplotlib-users] show scaled image (matlab imagesc)

2009-05-10 Thread Sahar
Hello, Is it possible to autoscale the color map of an image (as in matlab's 'imagesc')? I'm using imshow and I can use vmin and vmax but than I have to set these values manually. Thanks, Sahar **

Re: [Matplotlib-users] show annotations only on hovering

2009-04-15 Thread John Hunter
On Wed, Apr 15, 2009 at 8:03 AM, Vito De Tullio wrote: > Gregor Thalhammer wrote: > > > I didn't understand what you mean by 'plot nodes' > > the markers, sorry > > > , but there exist > > figure_enter_event, figure_leave_event, axes_enter_event and > > axes_leave_event, see > > > > http://matplot

Re: [Matplotlib-users] show annotations only on hovering

2009-04-15 Thread Vito De Tullio
Gregor Thalhammer wrote: > I didn't understand what you mean by 'plot nodes' the markers, sorry > , but there exist > figure_enter_event, figure_leave_event, axes_enter_event and > axes_leave_event, see > http://matplotlib.sourceforge.net/examples/event_handling/figure_axes_enter_leave.html fi

Re: [Matplotlib-users] show annotations only on hovering

2009-04-15 Thread Gregor Thalhammer
Vito De Tullio schrieb: > Hi all. > I'm using matplotlib to draw some graph in a pyqt application. > Is there a way to show infos only when the mouse hover the plot nodes? > At the moment I'm stuck using this (ugly, and conceptually wrong) piece of > code, written by me... > > basically I add hidde

[Matplotlib-users] show annotations only on hovering

2009-04-15 Thread Vito De Tullio
Hi all. I'm using matplotlib to draw some graph in a pyqt application. Is there a way to show infos only when the mouse hover the plot nodes? At the moment I'm stuck using this (ugly, and conceptually wrong) piece of code, written by me... basically I add hidden annotations where I need, then (ab)

Re: [Matplotlib-users] .show() documentation?

2008-10-16 Thread Michael Droettboom
As with all other commands in matplotlib, show is blocking. The interpreter stops at that line until the window closes. To do interactive things with a separate GUI event loop, have a look at the demos in the event_handling directory of the examples. Mike Nick Vaidyanathan wrote: > The figure

Re: [Matplotlib-users] .show() documentation?

2008-10-15 Thread Nick Vaidyanathan
The figure would open and remain visible, but would not respond in the expected manner to a button press. Consequently, Python would error out saying "package does not contain method waitforbuttonpress()". I was working on a school computer, 32-bit Intel that had just downloaded a fresh version of

Re: [Matplotlib-users] .show() documentation?

2008-10-15 Thread Michael Droettboom
Nick Vaidyanathan wrote: > Does not exist here: > http://matplotlib.sourceforge.net/doc/html/api/pyplot_api.html > > Which is curious, because it's plainly shown (PUNZ!) here: > http://matplotlib.sourceforge.net/doc/html/users/pyplot_tutorial.html > > Now here's t3h sex: given the documentati

[Matplotlib-users] .show() documentation?

2008-10-14 Thread Nick Vaidyanathan
Does not exist here: http://matplotlib.sourceforge.net/doc/html/api/pyplot_api.html Which is curious, because it's plainly shown (PUNZ!) here: http://matplotlib.sourceforge.net/doc/html/users/pyplot_tutorial.html Now here's t3h sex: given the documentation, I kind of expect this to work: ---Pyth

Re: [Matplotlib-users] show() won't show

2008-09-16 Thread Jeff Whitaker
David J Strozzi wrote: > Hi, > > I'm a light matplotlib user, and generally haven't had problems the > few times I've installed it. However, now I am. > > I am building matplotlib (and a suite of python tools, including > python itself) on a big computer cluster. I don't have root access > and

[Matplotlib-users] show() won't show

2008-09-16 Thread David J Strozzi
Hi, I'm a light matplotlib user, and generally haven't had problems the few times I've installed it. However, now I am. I am building matplotlib (and a suite of python tools, including python itself) on a big computer cluster. I don't have root access and that's non-negotiable. I've compile

Re: [Matplotlib-users] show Z data for contour plots

2008-05-18 Thread John Hunter
On Sun, May 18, 2008 at 4:18 PM, Eric Firing <[EMAIL PROTECTED]> wrote: > There is nothing standard for this, and you would have to define more > precisely what you mean by the Z data; what kind of interpolation do you > want? > > This type of request has come up before, and I suspect John may hav

Re: [Matplotlib-users] show Z data for contour plots

2008-05-18 Thread Eric Firing
There is nothing standard for this, and you would have to define more precisely what you mean by the Z data; what kind of interpolation do you want? This type of request has come up before, and I suspect John may have provided an illustration of how to do it in reply to some earlier such requ

[Matplotlib-users] show Z data for contour plots

2008-05-18 Thread Ryan Dale
When I create a plot with contourf(X,Y,Z) the X and Y data are displayed in text (as usual) in the lower right-hand corner of the figure window. Is there a way to report the Z data as well? thanks, -Ryan - This SF.net ema

Re: [Matplotlib-users] Show shapes on scatterplot legend?

2008-03-01 Thread Jose Gomez-Dans
Hi, On Thu, Feb 28, 2008 at 7:45 PM, chombee <[EMAIL PROTECTED]> wrote: > The problem is that the legend displays only a rectangular block > indicating the color for each plot. Is there a way to get the marker > shapes of scatter plots into the legend? > I faced a similar problem some time ago,

Re: [Matplotlib-users] Show shapes on scatterplot legend?

2008-03-01 Thread chombee
On Fri, 2008-02-29 at 08:56 -0500, Michael Droettboom wrote: > I don't believe there is at present. There was a recent discussion > about this on the list, and it's on the radar as something to add for a > future release. Oh well. Good to know it's on the radar. For now I'll just modify my plot

Re: [Matplotlib-users] Show shapes on scatterplot legend?

2008-02-29 Thread Michael Droettboom
I don't believe there is at present. There was a recent discussion about this on the list, and it's on the radar as something to add for a future release. Cheers, Mike chombee wrote: > I'm making some scatter plots which will probably end up getting printed > in black and white. I'm actually d

[Matplotlib-users] Show shapes on scatterplot legend?

2008-02-28 Thread chombee
I'm making some scatter plots which will probably end up getting printed in black and white. I'm actually drawing two scatter plots onto one axes. So to the distinguish between the two plots I've had them use different marker shapes and different shades of grey. The problem is that the legend disp

Re: [Matplotlib-users] show() not returning when figure closed if function called from another module

2008-01-14 Thread Henry Proudhon
On Thu, 2008-01-10 at 14:10 +0100, Henry Proudhon wrote: > Hi Matplotlib users, > > I'm experiencing some problems when closing a figure (I'm using > matplotlib 0.91.0). > the function is working correctly when invoked inside the module where > it is defined: > > from pylab import * > > def test

[Matplotlib-users] show() not returning when figure closed if function called from another module

2008-01-10 Thread Henry Proudhon
Hi Matplotlib users, I'm experiencing some problems when closing a figure (I'm using matplotlib 0.91.0). the function is working correctly when invoked inside the module where it is defined: from pylab import * def test(): t = arange(0.0, 1.0+0.01, 0.01) s = cos(2*2*pi*t) plot(t, s,

Re: [Matplotlib-users] show()

2006-09-06 Thread Matt
Is there a method of using the show() command more than once in a script? I know that it should be called once all commands have been entered for the graph, but I'm wondering if there is a way of resetting this so that I can call show() a second time without my program crashing. Thanks, Matt ___