Re: [Matplotlib-users] invalid command name randomNumbercallit

2013-12-05 Thread APaiva
I have now change my code and I have done the following. I have open a Tkinter toplevel, and worked on it: def OnButtonBress(self,) self.fig= matplotlip.figure.figure() (... here I have build the code to build my axis using the self.fig.add_subplot() function )

Re: [Matplotlib-users] Normalizing Marker Size in Legend

2013-12-05 Thread Paul Hobson
Matthew, I think you're on the right track. You need proxy artists of some sort. You can create Line2D objects directly, never add them to the figure, and then use those to create the legend. An alternatively/hacky approach I often use is to the plot all the real data with '_nolegend' labels,

Re: [Matplotlib-users] Question about basic_example_writer.py

2013-12-05 Thread Benjamin Root
Hmmm, sounds like a bug of some sort. Perhaps a pixel size is not being specified when creating the movie. Could you file an issue detailing exactly which version of mpl you are using and which movie writer you are using? Cheers! Ben Root On Wed, Nov 27, 2013 at 11:57 AM, Andreas Hilboll

Re: [Matplotlib-users] setting x tick labels with matshow

2013-12-05 Thread Sterling Smith
Kelson, Reading the documentation of matshow help(matshow) reveals that it passes most keywords to imshow. Documentation of imshow help(imshow) says it has an extent keyword to indicate the x and y ranges (instead of the array index). So something like (untested) matshow(your

Re: [Matplotlib-users] Normalizing Marker Size in Legend

2013-12-05 Thread Sterling Smith
Matthew, See the discussion at http://matplotlib.1069221.n5.nabble.com/Legend-Marker-Color-Bug-td38695.html -Sterling On Dec 4, 2013, at 3:48PM, Matthew Niznik wrote: Hi all, I have a plot in which I have 15 markers, each with a separate size (created by calls to plot()). Because of