File tree Expand file tree Collapse file tree 2 files changed +6
-8
lines changed
Filter options
Expand file tree Collapse file tree 2 files changed +6
-8
lines changed
Original file line number Diff line number Diff line change @@ -47,12 +47,11 @@ and the capabilities they provide.
47
47
most standard Python installations, but it's not part of Python itself and
48
48
thus may not be present in rare cases.
49
49
* PyQt6 _ (>= 6.1), PySide6 _, PyQt5 _, or PySide2 _: for the Qt-based backends.
50
- * PyGObject _: for the GTK-based backends. If using pip (but not conda or system
51
- package manager) PyGObject must be built from source; see ` pygobject
52
- documentation
50
+ * PyGObject _ and pycairo _ (>= 1.14.0) : for the GTK-based backends. If using pip
51
+ (but not conda or system package manager) PyGObject must be built from
52
+ source; see ` pygobject documentation
53
53
<https://pygobject.readthedocs.io/en/latest/devguide/dev_environ.html> `_.
54
- * pycairo _ (>= 1.11.0) or cairocffi _ (>= 0.8): for the GTK and/or cairo-based
55
- backends.
54
+ * pycairo _ (>= 1.14.0) or cairocffi _ (>= 0.8): for cairo-based backends.
56
55
* wxPython _ (>= 4): for the wx-based backends. If using pip (but not conda or
57
56
system package manager) on Linux wxPython wheels must be manually downloaded
58
57
from https://wxpython.org/pages/downloads/.
Original file line number Diff line number Diff line change 14
14
15
15
try :
16
16
import cairo
17
- if cairo .version_info < (1 , 11 , 0 ):
18
- # Introduced create_for_data for Py3.
17
+ if cairo .version_info < (1 , 14 , 0 ): # Introduced set_device_scale.
19
18
raise ImportError
20
19
except ImportError :
21
20
try :
22
21
import cairocffi as cairo
23
22
except ImportError as err :
24
23
raise ImportError (
25
- "cairo backend requires that pycairo>=1.11 .0 or cairocffi "
24
+ "cairo backend requires that pycairo>=1.14 .0 or cairocffi "
26
25
"is installed" ) from err
27
26
28
27
import matplotlib as mpl
You can’t perform that action at this time.
0 commit comments