Hi Darren,
Darren Dale writes:
> On Thu, Jul 2, 2009 at 9:46 AM, Ole Streicher <
> ole-usenet-s...@gmx.net> wrote:
> Run it, move the second diagram below the first, adjust their sizes so
> that they take roughly the same size: [...]
> and then move the slider between the diagrams and
On my system, this example appears to be working just fine. I even bumped
the number of data points from 1000 to 10,000. I'm on OS X 10.5.7 with:
matplotlib 0.98.5.2
PyQt 4.5.1 (GPL)
Qt 4.5 (LGPL)
Maybe try updating your PyQt installation?
BZ
On Thu, Jul 2, 2009 at 6:46 AM, Ole Streicher wrot
On Thu, Jul 2, 2009 at 9:46 AM, Ole Streicher wrote:
> Hello Darren,
>
> Darren Dale writes:
> > I can't produce a segfault with the attached script. I have Qt-4.5.2,
> > PyQt-4.5.1, and a checkout of the matplotlib trunk.
>
> OK, in this context it seems to work.
>
> I attach a script that shows
Hello Darren,
Darren Dale writes:
> I can't produce a segfault with the attached script. I have Qt-4.5.2,
> PyQt-4.5.1, and a checkout of the matplotlib trunk.
OK, in this context it seems to work.
I attach a script that shows the problem.
Run it, move the second diagram below the first, adjus
Hello Darren,
Darren Dale writes:
> I can't produce a segfault with the attached script. I have Qt-4.5.2,
> PyQt-4.5.1, and a checkout of the matplotlib trunk.
OK, in this context it seems to work.
I attach a script that shows the problem.
Run it, move the second diagram below the first, adjus
On Thu, Jul 2, 2009 at 3:06 AM, Ole Streicher wrote:
> Hi Brian,
>
> I have also some layout problems with the Qt4 backend. The worst one is
> a SegFault when adjusting the width.
>
> Brian Zambrano writes:
> > vbox = QVBoxLayout()
> > vbox.addWidget(self.canvas)
> > self.setLayout(vbox)
>
> Coul
Hi Brian,
I have also some layout problems with the Qt4 backend. The worst one is
a SegFault when adjusting the width.
Brian Zambrano writes:
> vbox = QVBoxLayout()
> vbox.addWidget(self.canvas)
> self.setLayout(vbox)
Could you just try to add a second canvas to the layout?
vbox = QVBoxLayout(
Hi all,
I'm having a problem with resizing a FigureCanvas using the Qt4 backend when
the FigureCanvas is used alongside some dock widgets. What happens is that
the figure never grows beyond the original size set when the window or other
dock widgets are expanded. It's probably easier to look at
As usual, I ended up figuring this out after I sent this question.
The trick was adding the central widget (FigureCanvas) to a QLayout, and
just ignoring the resizeEvent. So, I just did:
vbox = QVBoxLayout()
vbox.addWidget(self.canvas)
self.setLayout(vbox)
in the custom QWidget which holds the