Re: [Matplotlib-users] Any progress on binary installer for OSX?

2013-10-11 Thread Matthew Brett
Hi, On Fri, Oct 11, 2013 at 9:29 PM, Matthew Brett wrote: > Hi, > > On Thu, Oct 3, 2013 at 1:33 PM, Matthew Brett wrote: >> Hi, >> >> On Thu, Oct 3, 2013 at 1:29 PM, Russell E. Owen wrote: >>> In article >>> , >>> Matthew Brett >>> wrote: >>> Hi, On Thu, Oct 3, 2013 at 5:59 AM

Re: [Matplotlib-users] Any progress on binary installer for OSX?

2013-10-11 Thread Matthew Brett
Hi, On Thu, Oct 3, 2013 at 1:33 PM, Matthew Brett wrote: > Hi, > > On Thu, Oct 3, 2013 at 1:29 PM, Russell E. Owen wrote: >> In article >> , >> Matthew Brett >> wrote: >> >>> Hi, >>> >>> On Thu, Oct 3, 2013 at 5:59 AM, Michael Droettboom >>> wrote: >>> > Matthew Terry, as part of his Mac tes

Re: [Matplotlib-users] Problems using Matplotlib from a GTK app

2013-10-11 Thread Sterling Smith
Skip, Here are some lines from an application I have written. from matplotlib.backends.backend_gtkagg import FigureCanvasGTKAgg In the setup: self.canvas = FigureCanvasGTKAgg(self.figure) self.canvas.set_size_request(600,600) self.canvas.show() #Pack the canvas in a parent contai

[Matplotlib-users] Problems using Matplotlib from a GTK app

2013-10-11 Thread Skip Montanaro
I want to use matplotlib as a component of a larger, event-driven GTK app. That means pylab.show is (I think) not the way to go, as it starts up its own event loop which doesn't return. I've tried to clear and plot in my event handler, but my plot is never displayed. My initialization code looks l

Re: [Matplotlib-users] AttributeError: 'BarContainer' object has no attribute 'autoscale_None'

2013-10-11 Thread Sterling Smith
Nils, I tried to run your example, but there are some variables which are undefined. Can you post a self contained revision of your example? -Sterling On Oct 11, 2013, at 1:34AM, Nils Wagner wrote: > plt.colorbar(scalarMap,ax=ax) results in > > cm.py", line 309, in autoscale_None > raise

Re: [Matplotlib-users] AttributeError: 'BarContainer' object has no attribute 'autoscale_None'

2013-10-11 Thread Nils Wagner
plt.colorbar(scalarMap,ax=ax) results in cm.py", line 309, in autoscale_None raise TypeError('You must first set_array for mappable') TypeError: You must first set_array for mappable Nils On Fri, Oct 11, 2013 at 9:51 AM, Eric Firing wrote: > On 2013/10/10 8:52 PM, Nils Wagner wrote: > >

Re: [Matplotlib-users] AttributeError: 'BarContainer' object has no attribute 'autoscale_None'

2013-10-11 Thread Eric Firing
On 2013/10/10 8:52 PM, Nils Wagner wrote: > Hi all, > > I tried to add a colorbar to a bar plot > > coolwarm = cm = plt.get_cmap('coolwarm') > values = range(100) > cNorm = colors.Normalize(vmin=0, vmax=values[-1]) > scalarMap = cmx.ScalarMappable(norm=cNorm, cmap=coolwarm) > colours = [] > for v