[Matplotlib-users] Changing icons in navigation toolbar

2012-04-05 Thread Emmanuel Mayssat
The navigation toolbar is ugly ;-) I would like to change the icons, let's say for the 'home' position. How can I do that? -- E -- Better than sec? Nothing is better than sec when it comes to monitoring Big Data applicatio

Re: [Matplotlib-users] assigning a plot object to a figure

2012-04-04 Thread Emmanuel Mayssat
.vbox)     def getFigure(self):     return self.fig     def draw(self):     self.canvas.draw() A special thanks to the pyqtgraph maintainer http://luke.campagnola.me/code/pyqtgraph/ ________ From: Emmanuel Mayssat To: Emmanuel Mayssat ; Eric Firing ; "matplotlib-u

Re: [Matplotlib-users] assigning a plot object to a figure

2012-04-03 Thread Emmanuel Mayssat
Although this work, I lose the position of the axes. How can I reposition the axes2 which was at 221 in fig2, to 221 in fig1 ? From: Emmanuel Mayssat To: Eric Firing ; "matplotlib-users@lists.sourceforge.net" Sent: Monday, April 2, 2012 3:20 PM S

[Matplotlib-users] clear figure, ax, etc

2012-04-03 Thread Emmanuel Mayssat
what does figure.clear() do ? what about ax.clear()? The doc is kind of sparce. The 2 function/method above do nothing on my setup. ax.clear() I was expecting to mean 'erase all the 2DLines' figure.clear()  I was expecting 'hide all the axes' Now figure.del_axes(self.figure.axes)  does not do a

Re: [Matplotlib-users] assigning a plot object to a figure

2012-04-02 Thread Emmanuel Mayssat
object to a figure On 03/30/2012 01:23 PM, Emmanuel Mayssat wrote: > Hello all, > > I can create a figure > and get the corresponding axes/plots > > for examples: > 1/ > fig = Figure(figsize=(width, height), dpi=dpi) > ax = gif.add_subplot(111) > > 2/ > fig, ax =

[Matplotlib-users] assigning a plot object to a figure

2012-03-30 Thread Emmanuel Mayssat
Hello all, I can create a figure and get the corresponding axes/plots  for examples: 1/ fig = Figure(figsize=(width, height), dpi=dpi) ax = gif.add_subplot(111) 2/ fig, ax = plt.subplots() but I would like to create my plot independently from the figure and assign it to a figure I code I wou

Re: [Matplotlib-users] Plot object

2012-03-29 Thread Emmanuel Mayssat
'Axis [0,1]') axarr[1,0].plot(x, y**2) axarr[1,0].set_title('Axis [1,0]') axarr[1,1].scatter(x, y**2) axarr[1,1].set_title('Axis [1,1]') -- Emmanuel ____ From: Emmanuel Mayssat To: matplotlib Cc: "matplotlib-users@lists.sourceforge.n

[Matplotlib-users] Plot object

2012-03-29 Thread Emmanuel Mayssat
Hello, I am programming using POO (object programming) I cannot find a way to create a plot as an object In concept, I would like to do something like """ from matplotlib.backends.backend_qt4agg import FigureCanvasQTAgg as FigureCanvas from matplotlib.figure import Figure self.figure = Figure

[Matplotlib-users] plot object?

2012-03-26 Thread Emmanuel Mayssat
Hello, I am programming using POO (object programming) I cannot find a way to create a plot as an object In concept, I would like to do something like """ from matplotlib.backends.backend_qt4agg import FigureCanvasQTAgg as FigureCanvas from matplotlib.figure import Figure self.figure = Figure