[Matplotlib-devel] mpl-3.4 vs. mplcairo?
Antony Lee
antony.lee at institutoptique.fr
Fri Apr 2 09:09:51 EDT 2021
mplcairo 0.4 is out now, and should fix the problem.
Antony
On Mon, Mar 29, 2021 at 4:59 PM Neal Becker <ndbecker2 at gmail.com> wrote:
> Thanks, looking forward to it!
>
> On Mon, Mar 29, 2021 at 10:38 AM Antony Lee
> <antony.lee at institutoptique.fr> wrote:
> >
> > I need to make a new release for mplcairo. Will try to get it out in
> the coming days...
> > Antony
> >
> > On Mon, Mar 29, 2021 at 2:11 PM Neal Becker <ndbecker2 at gmail.com> wrote:
> >>
> >> Just updated out-of-date python modules including mpl. Now if I try a
> >> simple plot I get:
> >> --------------
> >> In [2]: Traceback (most recent call last):
> >> File
> "/home/nbecker/.local/lib/python3.9/site-packages/mplcairo/qt.py",
> >> line 12, in paintEvent
> >> if self._update_dpi():
> >> AttributeError: 'FigureCanvasQTCairo' object has no attribute
> '_update_dpi'
> >> -----------
> >>
> >> if using backend: module://mplcairo.qt, which is my default.
> >> Removing this from matplotlibrc the plot works fine.
> >>
> >> fedora 33
> >> python 3.9.2
> >> mplcairo 0.3.post38+g3bcf15c
> >> matplotlib 3.4.0
> >> PyQt5 5.15.4
> >> PyQt5-Qt5 5.15.2
> >>
> >> --
> >> Those who don't understand recursion are doomed to repeat it
> >> _______________________________________________
> >> Matplotlib-devel mailing list
> >> Matplotlib-devel at python.org
> >> https://mail.python.org/mailman/listinfo/matplotlib-devel
>
>
>
> --
> Those who don't understand recursion are doomed to repeat it
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.python.org/pipermail/matplotlib-devel/attachments/20210402/f300a3dd/attachment.html>
More information about the Matplotlib-devel
mailing list