Re: [Matplotlib-users] Change a few pixels color

2011-04-22 Thread Paul Ivanov
Hi Xavier, Xavier Gnata, on 2011-04-23 02:33, wrote: > Imagine you have this code: > > import numpy as np > import matplotlib.cm as cm > import matplotlib.mlab as mlab > import matplotlib.pyplot as plt > > delta = 0.25 > x = y = np.arange(-3.0, 3.0, delta) > X, Y = np.mes

[Matplotlib-users] Change a few pixels color

2011-04-22 Thread Xavier Gnata
Hi, Imagine you have this code: import numpy as np import matplotlib.cm as cm import matplotlib.mlab as mlab import matplotlib.pyplot as plt delta = 0.25 x = y = np.arange(-3.0, 3.0, delta) X, Y = np.meshgrid(x, y) Z1 = mlab.bivariate_normal(X, Y, 1.0, 1.0, 0.0, 0.

Re: [Matplotlib-users] updating embedded plots using Tkinter

2011-04-22 Thread Michael Schmidt
Great, thanks for the fix, works great now! --Michael On Fri, Apr 22, 2011 at 2:17 PM, Goyo wrote: > 2011/4/22 Michael Schmidt : >> Hi Everyone, >> >> I'm running into a problem with updating a plot that I've embedded into a Tk >> application. [...] I'd like the plot to >> refresh when the butto

Re: [Matplotlib-users] updating embedded plots using Tkinter

2011-04-22 Thread Goyo
2011/4/22 Michael Schmidt : > Hi Everyone, > > I'm running into a problem with updating a plot that I've embedded into a Tk > application. [...] I'd like the plot to > refresh when the button is clicked pyplot.draw() does not work here (I don't know if this is intended behavoir of pyplot, but it m

Re: [Matplotlib-users] Crash using twin axis label with PyGTK

2011-04-22 Thread Eric Firing
On 04/22/2011 06:47 AM, Paul Ivanov wrote: > Jason Heeris, on 2011-04-23 00:29, wrote: >> On 22 April 2011 03:56, Paul Ivanov wrote: >>> Thanks for the report, Jason. It's a bug - could you please file >>> a bug report, so we can keep track of it? >> >> Will do, thanks for the workarounds :) >> >

Re: [Matplotlib-users] Crash using twin axis label with PyGTK

2011-04-22 Thread Paul Ivanov
Jason Heeris, on 2011-04-23 00:29, wrote: > On 22 April 2011 03:56, Paul Ivanov wrote: > > Thanks for the report, Jason. It's a bug - could you please file > > a bug report, so we can keep track of it? > > Will do, thanks for the workarounds :) > > > or if it's an option, use gtkagg, which does

Re: [Matplotlib-users] Crash using twin axis label with PyGTK

2011-04-22 Thread Jason Heeris
On 22 April 2011 03:56, Paul Ivanov wrote: > Thanks for the report, Jason. It's a bug - could you please file > a bug report, so we can keep track of it? Will do, thanks for the workarounds :) > or if it's an option, use gtkagg, which doesn't suffer from the crash. > >  from matplotlib.backends.