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@python.org
https://mail.python.org/mailman/listinfo/matplotlib-devel
Thanks, looking forward to it!
···
On Mon, Mar 29, 2021 at 10:38 AM Antony Lee <antony.lee@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@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@python.org
Matplotlib-devel Info Page
--
Those who don't understand recursion are doomed to repeat it
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@python.org
https://mail.python.org/mailman/listinfo/matplotlib-devel
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@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@python.org
https://mail.python.org/mailman/listinfo/matplotlib-devel
mplcairo 0.4 is out now, and should fix the problem.
Antony
···
On Mon, Mar 29, 2021 at 4:59 PM Neal Becker <ndbecker2@gmail.com> wrote:
Thanks, looking forward to it!
On Mon, Mar 29, 2021 at 10:38 AM Antony Lee > <antony.lee@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@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@python.org
https://mail.python.org/mailman/listinfo/matplotlib-devel
–
Those who don’t understand recursion are doomed to repeat it