@@ -417,14 +417,16 @@ a file:
417
417
============ ================================================================
418
418
Backend Description
419
419
============ ================================================================
420
- GTKAgg Agg rendering to a :term: `GTK ` 2.x canvas (requires PyGTK _)
421
- GTK3Agg Agg rendering to a :term: `GTK ` 3.x canvas (requires PyGObject _)
420
+ GTKAgg Agg rendering to a :term: `GTK ` 2.x canvas (requires PyGTK _ and
421
+ pycairo _ or cairocffi _; Python2 only)
422
+ GTK3Agg Agg rendering to a :term: `GTK ` 3.x canvas (requires PyGObject _
423
+ and pycairo _ or cairocffi _)
422
424
GTK GDK rendering to a :term: `GTK ` 2.x canvas (not recommended)
423
- (requires PyGTK _)
425
+ (requires PyGTK _ and pycairo _ or cairocffi _; Python2 only )
424
426
GTKCairo Cairo rendering to a :term: `GTK ` 2.x canvas (requires PyGTK _
425
- and pycairo _)
427
+ and pycairo _ or cairocffi _; Python2 only )
426
428
GTK3Cairo Cairo rendering to a :term: `GTK ` 3.x canvas (requires PyGObject _
427
- and pycairo _)
429
+ and pycairo _ or cairocffi _ )
428
430
WXAgg Agg rendering to to a :term: `wxWidgets ` canvas
429
431
(requires wxPython _)
430
432
WX Native :term: `wxWidgets ` drawing to a :term: `wxWidgets ` Canvas
@@ -446,11 +448,31 @@ macosx Cocoa rendering in OSX windows
446
448
.. _PyGTK : http://www.pygtk.org
447
449
.. _PyGObject : https://live.gnome.org/PyGObject
448
450
.. _pycairo : http://www.cairographics.org/pycairo/
451
+ .. _cairocffi : https://pythonhosted.org/cairocffi/
449
452
.. _wxPython : http://www.wxpython.org/
450
453
.. _TkInter : http://wiki.python.org/moin/TkInter
451
454
.. _PyQt4 : http://www.riverbankcomputing.co.uk/software/pyqt/intro
452
455
.. _PyQt5 : http://www.riverbankcomputing.co.uk/software/pyqt/intro
453
456
457
+ WX backends
458
+ ===========
459
+
460
+ At present the release version of `wxPython ` (also known as wxPython classic)
461
+ does not support python3. A work in progress redesigned version known as
462
+ wxPython-Phoenix _ does support python3.
463
+ Matplotlib should work with both versions.
464
+
465
+ .. _wxPython-Phoenix : http://wxpython.org/Phoenix/docs/html/main.html
466
+
467
+ GTK and Cairo
468
+ =============
469
+
470
+ Both `GTK2 ` and `GTK3 ` have implicit dependencies on PyCairo regardless of the
471
+ specific Matplotlib backend used. Unfortunatly the latest release of PyCairo
472
+ for Python3 does not implement the Python wrappers needed for the `GTK3Agg `
473
+ backend. `Cairocffi ` can be used as a replacement which implements the correct
474
+ wrapper.
475
+
454
476
How do I select PyQt4 or PySide?
455
477
========================================
456
478
0 commit comments