> self.subplot.plot(x,y, '-r')
>
> > def _onSize(self, event):
> > self._resizeflag = True
>
> > def _onIdle(self, evt):
> > if self._resizeflag:
> > self._resizeflag = False
> > self._SetSize()
self._resizeflag = False
> self._SetSize()
> self.draw()
>
> def _SetSize(self, pixels = None):
> """
> This method can be called to force the Plot to be a desired
> size, which defaults to
> the ClientSize
matplotlib website, but can't seem to get it to work..
Does anyone here have experience in embedding matplotlib in wxpython?
I have attached my code.. it makes two panels.. one with a matplotlib
plot, and one with a button.. but the plotpanel is just a small square
in the corner !! ..
Any help
Hi,
I'm trying to create a small GUI program where I can do plots using
Matplotlib. I've been trying to borrow code from the examples at the
matplotlib website, but I can't get it to work.
I want to be able to create a wx.Panel that contains an axis for
plotting. Around it i want other panels con