Hi Brian,

I have also some layout problems with the Qt4 backend. The worst one is
a SegFault when adjusting the width.

Brian Zambrano <bri...@gmail.com> writes:
> vbox = QVBoxLayout()
> vbox.addWidget(self.canvas)
> self.setLayout(vbox)

Could you just try to add a second canvas to the layout?

vbox = QVBoxLayout()
vbox.addWidget(self.canvas1)
vbox.addWidget(self.canvas2)
self.setLayout(vbox)

and then try to adjust the size by moving the separator between the
central and right widget? In my code, I can reproduce a crash here on
Linux. Also, depending on the speed (content) of the canvases, the width
is not always ajusted correctly.

I am still not sure whether this is fault of Qt, PyQt, or matplotlib.

Thanks

Ole


------------------------------------------------------------------------------
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to