Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
cairo rendering for wx#9202
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Closed
Uh oh!
There was an error while loading.Please reload this page.
Closed
Changes fromall commits
Commits
Show all changes
17 commits Select commitHold shift + click to select a range
2abdcea
Qt5Cairo backend.
anntzerd4957ec
Qt4Cairo backend.
anntzerd2f2bc0
Update backends docs.
anntzerf884ffa
Update backends API docs.
anntzerbcb08e9
Let cairo track surface size; fix Pyside refcnt bug.
anntzer2eac3fa
Fix mandelbrot example.
anntzer138ba58
Make sure only one cairo binding is ever used; fix docs.
anntzerd96d104
No need to process_updates in gtk3.
anntzer5087c05
Qt dpi handling should be renderer-agnostic.
anntzer89a87d0
Fix vector output from cairo.
anntzer56854ae
In QtCairo, also save figures using cairo.
anntzerab61783
Fix doc builds.
anntzer8946c38
Fix hidpi in qt5cairo.
anntzer89a3ca8
Cleanup gtk3cairo.
anntzerecc9143
Cleanup wxagg.
anntzer28ccff8
Unify wx toolbars.
anntzer82e8360
WXCairo backend.
anntzerFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
1 change: 1 addition & 0 deletionsdoc-requirements.txt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -9,6 +9,7 @@ | ||
sphinx>=1.3,!=1.5.0,!=1.6.4 | ||
colorspacious | ||
ipython | ||
ipywidgets | ||
mock | ||
numpydoc>=0.4 | ||
pillow | ||
8 changes: 8 additions & 0 deletionsdoc/api/backend_agg_api.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
:mod:`matplotlib.backends.backend_agg` | ||
====================================== | ||
.. automodule:: matplotlib.backends.backend_agg | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
8 changes: 8 additions & 0 deletionsdoc/api/backend_cairo_api.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
:mod:`matplotlib.backends.backend_cairo` | ||
======================================== | ||
.. automodule:: matplotlib.backends.backend_cairo | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
11 changes: 11 additions & 0 deletionsdoc/api/backend_gtk3agg_api.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
:mod:`matplotlib.backends.backend_gtk3agg` | ||
========================================== | ||
**TODO** We'll add this later, importing the gtk3 backends requires an active | ||
X-session, which is not compatible with cron jobs. | ||
.. .. automodule:: matplotlib.backends.backend_gtk3agg | ||
.. :members: | ||
.. :undoc-members: | ||
.. :show-inheritance: |
11 changes: 11 additions & 0 deletionsdoc/api/backend_gtk3cairo_api.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
:mod:`matplotlib.backends.backend_gtk3cairo` | ||
============================================ | ||
**TODO** We'll add this later, importing the gtk3 backends requires an active | ||
X-session, which is not compatible with cron jobs. | ||
.. .. automodule:: matplotlib.backends.backend_gtk3cairo | ||
.. :members: | ||
.. :undoc-members: | ||
.. :show-inheritance: |
11 changes: 11 additions & 0 deletionsdoc/api/backend_gtkcairo_api.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
:mod:`matplotlib.backends.backend_gtkcairo` | ||
=========================================== | ||
**TODO** We'll add this later, importing the gtk backends requires an active | ||
X-session, which is not compatible with cron jobs. | ||
.. .. automodule:: matplotlib.backends.backend_gtkcairo | ||
.. :members: | ||
.. :undoc-members: | ||
.. :show-inheritance: |
2 changes: 1 addition & 1 deletiondoc/api/backend_managers_api.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletionsdoc/api/backend_mixed_api.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -4,4 +4,5 @@ | ||
.. automodule:: matplotlib.backends.backend_mixed | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
8 changes: 8 additions & 0 deletionsdoc/api/backend_nbagg_api.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
:mod:`matplotlib.backends.backend_nbagg` | ||
======================================== | ||
.. automodule:: matplotlib.backends.backend_nbagg | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
1 change: 1 addition & 0 deletionsdoc/api/backend_pdf_api.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -4,4 +4,5 @@ | ||
.. automodule:: matplotlib.backends.backend_pdf | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
8 changes: 8 additions & 0 deletionsdoc/api/backend_pgf_api.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
:mod:`matplotlib.backends.backend_pgf` | ||
====================================== | ||
.. automodule:: matplotlib.backends.backend_pgf | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
8 changes: 8 additions & 0 deletionsdoc/api/backend_ps_api.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
:mod:`matplotlib.backends.backend_ps` | ||
===================================== | ||
.. automodule:: matplotlib.backends.backend_ps | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
1 change: 0 additions & 1 deletiondoc/api/backend_qt4agg_api.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -6,4 +6,3 @@ | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
8 changes: 8 additions & 0 deletionsdoc/api/backend_qt4cairo_api.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
:mod:`matplotlib.backends.backend_qt4cairo` | ||
=========================================== | ||
.. automodule:: matplotlib.backends.backend_qt4cairo | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
1 change: 0 additions & 1 deletiondoc/api/backend_qt5agg_api.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -6,4 +6,3 @@ | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
8 changes: 8 additions & 0 deletionsdoc/api/backend_qt5cairo_api.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
:mod:`matplotlib.backends.backend_qt5cairo` | ||
=========================================== | ||
.. automodule:: matplotlib.backends.backend_qt5cairo | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
1 change: 1 addition & 0 deletionsdoc/api/backend_svg_api.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -4,4 +4,5 @@ | ||
.. automodule:: matplotlib.backends.backend_svg | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
8 changes: 8 additions & 0 deletionsdoc/api/backend_tkagg_api.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
:mod:`matplotlib.backends.backend_tkagg` | ||
======================================== | ||
.. automodule:: matplotlib.backends.backend_tkagg | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
2 changes: 1 addition & 1 deletiondoc/api/backend_tools_api.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
:mod:`matplotlib.backend_tools` | ||
=============================== | ||
.. automodule:: matplotlib.backend_tools | ||
:members: | ||
12 changes: 12 additions & 0 deletionsdoc/api/backend_webagg_api.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
:mod:`matplotlib.backends.backend_webagg` | ||
========================================= | ||
.. note:: | ||
The WebAgg backend is not documented here, in order to avoid adding Tornado | ||
to the doc build requirements. | ||
.. .. automodule:: matplotlib.backends.backend_webagg | ||
.. :members: | ||
.. :undoc-members: | ||
.. :show-inheritance: |
8 changes: 8 additions & 0 deletionsdoc/api/backend_wxcairo_api.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
:mod:`matplotlib.backends.backend_wxcairo` | ||
========================================== | ||
..automodule::matplotlib.backends.backend_wxcairo | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
20 changes: 15 additions & 5 deletionsdoc/api/index_backend_api.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
32 changes: 13 additions & 19 deletionsdoc/conf.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletionsdoc/users/whats_new/more-cairo.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
cairo rendering for Qt and WX canvases | ||
-------------------------------------- | ||
The new ``Qt4Cairo``, ``Qt5Cairo``, and ``WXCairo`` backends allow Qt and WX | ||
canvases to use cairo rendering instead of Agg. |
5 changes: 2 additions & 3 deletionsexamples/showcase/mandelbrot.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
10 changes: 5 additions & 5 deletionslib/matplotlib/backends/backend_agg.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.