[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

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

2012-04-04 Thread Emmanuel Mayssat
self.fig     def draw(self):     self.canvas.draw() A special thanks to the pyqtgraph maintainer http://luke.campagnola.me/code/pyqtgraph/ From: Emmanuel Mayssat emays...@yahoo.com To: Emmanuel Mayssat emays...@yahoo.com; Eric Firing efir...@hawaii.edu

[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

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 emays...@yahoo.com To: Eric Firing efir...@hawaii.edu; matplotlib-users@lists.sourceforge.net matplotlib

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

2012-04-02 Thread Emmanuel Mayssat
] assigning a plot 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 = plt.subplots() but I would

[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

[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 =

Re: [Matplotlib-users] Plot object

2012-03-29 Thread Emmanuel Mayssat
]') 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 emays...@yahoo.com To: matplotlib matplotlib-users@lists.sourceforge.net Cc: matplotlib-users

[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 =