[PyQt] Re: [Matplotlib-users] Strange issue when using Matplotlib with PyQt4

Lukas Hetzenecker LuHe at gmx.at
Tue Jul 21 19:47:10 BST 2009


Hello,
the matplotlib widget has an incorrect default size (the left one in the 
attatched screenshot).
I couldn't reproduce this behaviour with any Qt widget - so it seems that this 
is specific to matplotlib. But as I'm not really sure of the cause I posted it 
to both lists.

Lukas

Am Dienstag 21 Juli 2009 20:31:55 schrieb Darren Dale:
> On Tue, Jul 21, 2009 at 12:06 PM, Lukas Hetzenecker<LuHe at gmx.at> wrote:
> > Sorry for annoying you, but I attatched a new example to this message:
> > I've rewritten the PyQt4-example from the website to draw the Figure in a
> > tab widget. The same happens ;)
>
> In your original post, you said:
>
> "the widget in the Tab is incorrectly sized.
> If I embed the FigureCanvas in a QTabWidget the widget is to big, but if I
> put it in a QWidget it is shown correctly."
>
> Could you be more specific? What does "incorrectly sized" mean? What
> do you mean by the widget is "too big", as opposed to "shown
> correctly"? Is this really a PyQt issue, or is it specific to
> matplotlib? If the latter we should continue the discussion on the mpl
> mailing list instead of cross-posting.
>
> Darren

-------------- next part --------------
A non-text attachment was scrubbed...
Name: screen5.png
Type: image/png
Size: 39885 bytes
Desc: not available
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20090721/a98302a1/screen5-0001.png


More information about the PyQt mailing list