Hello,
I tried to embed a Matplotlib FigureCanvas into a QTabWidget.
But at the first start of my script - the main.py in the attatched example -
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
Hi Jouni,
Jouni K. Seppänen wrote:
>
> jan_strube writes:
>
> Do you mean that saving as pdf from the qt4agg backend causes the same
> error, or is there a different error raised from that particular
> backend? When you save as pdf, you (usually) invoke the pdf backend, no
> matter what inter
Below is what I am trying to do, perhaps I am doing something wrong
somewhere?
John Hunter-4 wrote:
>
>
> or explicitly reuse the same fig by giving a figure number and clearing
> it:
>
> for i in range(1000):
> fig = plt.figure(1)
> # plot something
> fig.cla()
>
> JDH
>
My Pr
jan_strube writes:
> File
> "/home/jstrube/local//lib64/python2.6/site-packages/matplotlib/backends/backend_pdf.py",
> line 1723, in _fillp
> (len(self._fillcolor) <= 3 or self._fillcolor[3] != 0.0))
> TypeError: object of type 'NoneType' has no len()
Yes, that looks like a bug. It seems t