[Matplotlib-devel] mpl-3.4 vs. mplcairo?
Neal Becker
ndbecker2 at gmail.com
Mon Mar 29 08:10:32 EDT 2021
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
More information about the Matplotlib-devel
mailing list