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
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
>
>
>
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
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
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
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
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
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
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
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
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
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
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
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
--- 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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.
-
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
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
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
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
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
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
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
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
--- 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
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
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
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
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,
> >
>
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
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
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
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
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
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.
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
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
>
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,
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
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
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
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'),
>
> --
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]
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)
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
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
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
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
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
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
**
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
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
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
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)
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
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
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
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
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
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
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
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
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
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,
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
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
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
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
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,
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
___
88 matches
Mail list logo