Skip to content

Support PYQ6 backends #21399

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 478 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
478 commits
Select commit Hold shift + click to select a range
905eba4
Fix typo in markers api documentation.
deep-jkl Sep 13, 2021
3fc6140
Improve test for invalid rotated inputs
deep-jkl Sep 14, 2021
04a3e70
Add tests for MarkerStyle scaled and translated
deep-jkl Sep 14, 2021
af6b89a
Add function for optimized None+transform
deep-jkl Sep 15, 2021
c01e8f1
Remove ambiguous translated primitive for MarkerStyle
deep-jkl Sep 15, 2021
95d93d2
Add missing test for MarkerStyle.get_alt_transform
deep-jkl Sep 15, 2021
75a92d8
Improve documentation outputs.
deep-jkl Sep 16, 2021
98d6a30
Merge pull request #21142 from tacaswell/mac_qt_ctrl
timhoffm Sep 22, 2021
c09cd9a
Merge pull request #21146 from anntzer/clim
timhoffm Sep 22, 2021
6d91b55
Merge pull request #21145 from anntzer/fcdn
timhoffm Sep 22, 2021
1daed58
Merge pull request #21141 from anntzer/cqd
timhoffm Sep 22, 2021
67e1814
Rename `**kw` to `**kwargs`.
anntzer Sep 22, 2021
c9b0277
Improve curve_error_band example.
anntzer Sep 22, 2021
c1f490a
Increase marker size in double_pendulum example.
anntzer Sep 22, 2021
285a01a
MNT: make sure we forward path configuration when splitting
tacaswell Jan 22, 2021
2116856
ENH: make error messages from exceeding agg cell block count clearer
tacaswell Jan 22, 2021
c4b1ddd
MNT: increase the maximum number of cells in the Agg rasterizer
tacaswell Jan 23, 2021
0f0ea22
TST: tune test parameters
tacaswell May 27, 2021
09fa321
MNT: simplify the error reporting in agg chunk overflows
tacaswell Sep 22, 2021
886157f
TST: add pyqt on appveyor
tacaswell Aug 24, 2021
2974f3c
Move sigint tests into subprocesses.
QuLogic Aug 26, 2021
df09043
Ensure test_fig_sigint_override cleans up global state.
QuLogic Aug 26, 2021
9e84366
FIX: try @vdrhtc to fix ctrl-c on windows
tacaswell Sep 15, 2021
9d13e7d
TST: fix ctrl-c tests on windows
tacaswell Sep 16, 2021
c7c7946
Merge pull request #21154 from anntzer/dpm
tacaswell Sep 22, 2021
d6d15d2
Merge pull request #21153 from anntzer/ceb
tacaswell Sep 22, 2021
bdc4f04
Merge pull request #21140 from anntzer/dpp
tacaswell Sep 22, 2021
1cec9c1
Merge pull request #21127 from anntzer/stem
tacaswell Sep 22, 2021
196edf8
Update lib/matplotlib/animation.py
tacaswell Sep 22, 2021
dad3d77
Use a second style for plot types gallery entries without grid
timhoffm Sep 19, 2021
cb41936
Minor style fixes in plot types
timhoffm Sep 19, 2021
9dd1441
Simplify unstructured data generation
timhoffm Sep 19, 2021
3022561
Merge pull request #21152 from anntzer/kwargs
timhoffm Sep 22, 2021
9bfbe9d
Merge pull request #17096 from timhoffm/dev-environment
timhoffm Sep 22, 2021
e86f764
Update lib/matplotlib/mpl-data/stylelib/_mpl-gallery.mplstyle
timhoffm Sep 23, 2021
afd0dcc
Merge pull request #21136 from timhoffm/gallery-order
jklymak Sep 23, 2021
88cdf1b
Make stem formatting parameters keyword only.
timhoffm Sep 19, 2021
7c2a3c4
Merge pull request #21039 from dstansby/hexbin-marginal
jklymak Sep 24, 2021
d4b9d63
Merge pull request #21126 from timhoffm/stem-kwonly
QuLogic Sep 24, 2021
f003901
skip QImage leak workaround for PySide2 >= 5.12
pijyoi Sep 25, 2021
23f5da4
Fix a few minor typos
QuLogic Sep 25, 2021
1357c52
Merge pull request #19343 from tacaswell/enh_improve_agg_chunks_error
QuLogic Sep 25, 2021
2ffffb4
Clarify animation saving
dstansby Sep 25, 2021
c66fd46
Cleanup contour(f)3d examples.
anntzer Sep 24, 2021
08001a9
Remove uninformative `.. figure::` titles in docs.
anntzer Sep 26, 2021
ef96fef
Merge pull request #21166 from anntzer/c3
timhoffm Sep 26, 2021
de0f2cf
Merge pull request #21180 from anntzer/ut
timhoffm Sep 26, 2021
db67ced
Merge pull request #21081 from dstansby/jshtml-doc
timhoffm Sep 26, 2021
cde68fb
Merge pull request #21172 from pijyoi/pyside2_qimage_leak_fixed
timhoffm Sep 26, 2021
3423f91
Fixed typos
MalikIdreesHasanKhan Sep 27, 2021
f09894e
Small doc fixes.
anntzer Sep 27, 2021
47fb5e8
Deprecate mlab.stride_windows.
anntzer Sep 27, 2021
1b908e3
Deprecate error_msg_foo helpers.
anntzer Sep 27, 2021
1cbf7bf
Discourage making style changes to extern/.
anntzer Sep 27, 2021
87c545b
Update contributing guide.
anntzer Sep 27, 2021
19835f4
Merge pull request #21193 from anntzer/cont
story645 Sep 27, 2021
44e04d8
Place 3D contourfs midway between levels
dstansby Sep 27, 2021
060d5c8
Merge pull request #21192 from anntzer/ext
dstansby Sep 27, 2021
5f44c48
Merge pull request #21189 from anntzer/df
dstansby Sep 27, 2021
2800531
Undid external fix.
MalikIdreesHasanKhan Sep 27, 2021
6c2f514
Merge pull request #21190 from anntzer/sw
dstansby Sep 27, 2021
1794ddf
Merge pull request #21186 from MalikIdreesHasanKhan/master
timhoffm Sep 27, 2021
6ee2e78
Update coding_guide.rst
fishmandev Sep 27, 2021
3d4c52c
Merge pull request #21026 from dstansby/contourf-3d
timhoffm Sep 27, 2021
9b3129e
Update fonts.rst (#21196)
fishmandev Sep 27, 2021
63f7594
Fix signature of barh() in plot types
timhoffm Sep 27, 2021
fc50db4
Rework plot types quiver
timhoffm Sep 27, 2021
54bd358
Merge pull request #21201 from timhoffm/plot-types-bar
anntzer Sep 27, 2021
de64d0b
Merge pull request #21198 from fishmandev/patch-2
tacaswell Sep 27, 2021
67de499
Merge pull request #21187 from anntzer/error_msg
tacaswell Sep 27, 2021
1a4bf4e
Rework headers for individual backend docs.
anntzer Mar 18, 2021
b4253ba
Fix very-edge case in csd(), plus small additional cleanups.
anntzer Sep 27, 2021
5a220ab
Merge pull request #21203 from timhoffm/plot-types-quiver
QuLogic Sep 28, 2021
a90f676
Add a release mode for docs
QuLogic Jul 24, 2021
db08fcc
Check that the new sphinx theme is available early
QuLogic Jul 24, 2021
76d4a3e
DOC: Disable extra plot formats if not release mode
QuLogic Jul 24, 2021
f09213d
Update release guide with new release tag
QuLogic Jul 24, 2021
61727eb
DOC: Set release mode when deploying devdocs only
QuLogic Jul 24, 2021
d97c332
Merge pull request #21188 from anntzer/backenddocheaders
QuLogic Sep 28, 2021
a6e01b5
Merge pull request #21191 from anntzer/spec
QuLogic Sep 28, 2021
3e29c69
DOC: Always create HiDPI images
QuLogic Sep 28, 2021
306ee42
updated resources
isha614 Sep 28, 2021
e4f8456
Update docstrings according to jklymak
deep-jkl Sep 28, 2021
5aa5bbd
Make MarkerStyle.rotated more concise
deep-jkl Sep 28, 2021
214ea3f
Refactor code, linting.
deep-jkl Sep 28, 2021
7101e3c
Rework get_cap(join)style, add tests
deep-jkl Sep 28, 2021
e34ba2e
Fix more edge cases in psd, csd.
anntzer Sep 28, 2021
8555226
Use correct confidence interval
liamtoney Sep 29, 2021
4b06945
Merge pull request #21215 from anntzer/spec
QuLogic Sep 29, 2021
8285037
Change other place where incorrect value appears
liamtoney Sep 29, 2021
d500a70
Compress comments in make_image.
anntzer Sep 28, 2021
fe0683f
Parametrize/simplify test_missing_psfont.
anntzer Sep 29, 2021
2023423
Merge pull request #21213 from anntzer/make_image
tacaswell Sep 29, 2021
b78b47a
Merge pull request #21216 from liamtoney/patch-1
tacaswell Sep 29, 2021
7552cdd
Merge pull request #21218 from anntzer/mp
timhoffm Sep 29, 2021
629b01a
Consolidate What's new for 3.5
QuLogic Aug 18, 2021
e89695d
Consolidate development API changes for 3.5
QuLogic Sep 24, 2021
2c8e125
Consolidate API behaviour changes for 3.5
QuLogic Sep 24, 2021
18b9931
Consolidate API removals for 3.5
QuLogic Sep 25, 2021
50cedf2
Consolidate API deprecations for 3.5
QuLogic Sep 27, 2021
1ed3542
Document API change in ContourSet
QuLogic Sep 28, 2021
7d07569
Fix typo
tacaswell Sep 29, 2021
91d9fcd
Merge pull request #21211 from isha614/patch-1
tacaswell Sep 29, 2021
27f7f40
Move plot_types stats/barbs to arrays/barbs and basic/pie to stats/pie
timhoffm Sep 29, 2021
9b58d8e
Update plot_types barbs to show a more realistic use case
timhoffm Sep 29, 2021
ce8342f
Simplify data generation for imshow and pcolormesh plot_types
timhoffm Sep 29, 2021
bd5ef92
Fix nav link for "Usage guide" and remove release/date info from that…
timhoffm Sep 29, 2021
60d2528
Merge pull request #21223 from timhoffm/nav-usage-guide
QuLogic Sep 30, 2021
3dd8eee
DOC: Adapt some colors in examples
timhoffm Sep 30, 2021
5d9b312
Apply changes from review
QuLogic Sep 30, 2021
4f196f0
Merge pull request #20730 from QuLogic/doc-release-mode
timhoffm Sep 30, 2021
9d2e67b
Small doc nits.
anntzer Sep 30, 2021
785f0d6
Shorten PdfPages FAQ entry.
anntzer Sep 30, 2021
e13adc5
Merge pull request #21228 from anntzer/dt
timhoffm Sep 30, 2021
1a040b2
Merge pull request #21229 from anntzer/pdfpages
timhoffm Sep 30, 2021
062b5b2
Merge pull request #21221 from timhoffm/plot-t
story645 Sep 30, 2021
3b7b3a5
Merge pull request #20852 from QuLogic/docs35
tacaswell Sep 30, 2021
e13caa4
DOC: add note about why reading the socket is complicated
tacaswell Sep 30, 2021
b43ace8
DOC: Add fill_between to plot_types
timhoffm Sep 30, 2021
fff325c
Update plot_types/basic/fill_between.py
timhoffm Sep 30, 2021
d3b46f2
Clean up doc configuration slightly
QuLogic Sep 28, 2021
d1a4a11
Re-wrap toplevel readme
QuLogic Sep 28, 2021
f92333a
Merge pull request #21237 from timhoffm/plot-types-fillbetween
story645 Oct 1, 2021
96fa195
Fix links to doc sources
QuLogic Sep 30, 2021
5725b91
Merge pull request #20907 from QuLogic/qt-interrupt-popen
jklymak Oct 1, 2021
30fd3d1
Merge pull request #21226 from timhoffm/examples-colors
jklymak Oct 1, 2021
f521899
Fix release notes typos.
anntzer Oct 1, 2021
f4f7c4b
Merge pull request #21247 from anntzer/rnt
timhoffm Oct 1, 2021
66687d0
Merge pull request #21240 from QuLogic/doc-cleanup
timhoffm Oct 1, 2021
49b7827
DOC: Remove examples/README
timhoffm Oct 1, 2021
66cbf00
Fix some syntax highlights in coding and contributing guide.
anntzer Oct 1, 2021
a11d178
Merge pull request #21249 from anntzer/sh
timhoffm Oct 1, 2021
adde2b8
Merge pull request #21250 from timhoffm/remove-examples-readme
timhoffm Oct 1, 2021
30ec0e8
DOC: Fix source links to prereleases
QuLogic Oct 1, 2021
f657b37
Merge pull request #21260 from QuLogic/doc-prerel
timhoffm Oct 1, 2021
2e7a052
DOC: Update interactive colormap example
greglucas Sep 30, 2021
203c5de
Ensure internal FreeType uses same compiler as Python
QuLogic Oct 1, 2021
76f1516
Use same host triplet for internal FreeType as Python
QuLogic Oct 1, 2021
f22833a
DOC: Fix footnote that breaks PDF builds
QuLogic Oct 2, 2021
5431e38
Merge pull request #21236 from greglucas/cmap-interactive-example
timhoffm Oct 2, 2021
22bf7d6
Merge pull request #21264 from QuLogic/fix-footnote
QuLogic Oct 2, 2021
de1e5ba
add validator to errorbar method
Kislovskiy Oct 2, 2021
ec1da3b
add check when two inputs have negative numbers
Kislovskiy Oct 2, 2021
3496ba2
add test_xer_yerr_positive
Kislovskiy Oct 2, 2021
e2381b5
don't fail on test_units.py
Kislovskiy Oct 2, 2021
11b1c4b
add a comment to TypeError
Kislovskiy Oct 2, 2021
6d0c9a8
Don't use pixelDelta() on X11.
anntzer Oct 2, 2021
4a8d4c7
Merge pull request #21269 from anntzer/pixeldelta
jklymak Oct 4, 2021
e9bd017
Merge pull request #20715 from jkseppan/type1-improved-parsing
jklymak Oct 4, 2021
9b5bbe7
check None in check_if_negative
Kislovskiy Oct 4, 2021
6333ea4
Add support to save images in WebP format
kinshukdua Oct 4, 2021
5fbc3b3
Fix format_cursor_data for values close to float resolution.
anntzer Oct 4, 2021
b025271
fix wording & simplify function
Kislovskiy Oct 4, 2021
ced1eb2
Stage all changes in has_negative_values
Kislovskiy Oct 4, 2021
8f63438
allign wording in description and error
Kislovskiy Oct 4, 2021
9d182ae
add validator for timedelta
Kislovskiy Oct 4, 2021
e01d4f1
Merge pull request #21263 from QuLogic/better-freetype-compile
QuLogic Oct 4, 2021
36a6b3c
Ensure *full* compiler config is passed to FreeType
QuLogic Oct 4, 2021
81730f7
Fix FreeType build PyPy
QuLogic Oct 5, 2021
d297e41
Add language about not assigning issues (#21276)
story645 Oct 5, 2021
fcfea77
Merge pull request #20914 from deep-jkl/19195-rotated-markers
dstansby Oct 5, 2021
3e2d546
Merge pull request #21275 from anntzer/fcdeps
jklymak Oct 5, 2021
26f1e3f
Add tests for WebP format
kinshukdua Oct 5, 2021
96a8e32
Fix incorrect markup in example.
anntzer Oct 5, 2021
e37902e
Merge pull request #21266 from Kislovskiy/fix-21101
timhoffm Oct 5, 2021
1f66490
Merge pull request #21282 from anntzer/shla
jklymak Oct 5, 2021
811c9a6
Make `Path.__deepcopy__` interact better with subclasses, e.g. TextPath.
anntzer Oct 5, 2021
3574e73
Clarify FigureBase.tight_bbox as different from all other artists.
anntzer Oct 5, 2021
a928840
Simplify _init_legend_box.
anntzer Oct 5, 2021
917a616
DOC: Fix some lists in animation examples
QuLogic Oct 6, 2021
57d7f45
Allow macosx thread safety test on macOS11
QuLogic Oct 5, 2021
7fa4c7f
Merge pull request #21290 from QuLogic/anim-newline
greglucas Oct 6, 2021
0fca630
DOC: Bump to the sphinx-gallery release
QuLogic Oct 5, 2021
1ae1760
Fix snap argument to pcolormesh
QuLogic Oct 6, 2021
b8c22f0
Merge pull request #21279 from QuLogic/fix-freetype-wheel
jklymak Oct 6, 2021
35f4778
Merge pull request #21288 from QuLogic/fix-mac-ci
jklymak Oct 6, 2021
0b2c755
Merge pull request #21293 from QuLogic/pcolormesh-snap
anntzer Oct 6, 2021
97ba9d4
Merge pull request #21291 from QuLogic/sphinx-gallery-release
timhoffm Oct 6, 2021
c727cfa
Simplify `Colormap.__call__` a bit.
anntzer Sep 28, 2021
c46d616
Disable blitting on GTK4 backends
QuLogic Oct 6, 2021
a698063
Merge pull request #21294 from QuLogic/no-gtk4-blit
QuLogic Oct 6, 2021
28249e0
Pin macOS to 10.15 for wheels
QuLogic Oct 6, 2021
f1aa2e5
Merge pull request #21286 from anntzer/fgtb
tacaswell Oct 7, 2021
0edfe98
Merge pull request #21303 from QuLogic/pin-macos
QuLogic Oct 7, 2021
6833d02
Merge pull request #21280 from anntzer/pdc
tacaswell Oct 7, 2021
8050ee6
Use in-tree builds for PyPy wheels
QuLogic Oct 5, 2021
30b3bd5
Merge pull request #21307 from QuLogic/fix-pypy-version
dstansby Oct 7, 2021
071b53b
DOC: Minimal getting started page
timhoffm Oct 7, 2021
fcc8445
Update link to Agg website
QuLogic Oct 7, 2021
2918fc6
Merge pull request #21312 from QuLogic/fix-agg-link
story645 Oct 8, 2021
ad95791
Merge pull request #21301 from anntzer/cmapcall
jklymak Oct 8, 2021
4b539a5
Inherit more docstrings.
anntzer Oct 5, 2021
0dce1f4
Update doc/users/getting_started.rst
timhoffm Oct 8, 2021
865d964
Add description for XYZ in contour method
Kislovskiy Oct 8, 2021
0a7013a
tested descreption
Kislovskiy Oct 8, 2021
3557392
Merge pull request #21313 from timhoffm/getting-started
dstansby Oct 9, 2021
8d1edba
add references to axes methods
Kislovskiy Oct 9, 2021
be3608b
Merge pull request #21321 from Kislovskiy/fix-21310
dstansby Oct 10, 2021
d6548bf
Fix medical image caption in tutorial
fepegar Oct 10, 2021
7550433
fix default value for `shading` in docstring
navidcy Oct 10, 2021
7c86ed7
Merge pull request #21330 from fepegar/21320-fix-medical-image-caption
dstansby Oct 11, 2021
19b7353
DOC: move usage tutorial info to Users guide rst [skip actions] [skip…
jklymak Oct 11, 2021
42d2ee4
Fix linting errors in test_agg.py
kinshukdua Oct 11, 2021
f774498
default shading is :rc:`pcolor.shading`
navidcy Oct 11, 2021
8653dbf
DOC: move usage tutorial info to Users guide rst [skip actions] [skip…
jklymak Oct 12, 2021
4546afd
Merge pull request #21332 from navidcy/patch-1
timhoffm Oct 12, 2021
2d5d1d1
Fix trivial docstring typo.
anntzer Oct 12, 2021
432c029
Merge pull request #21341 from anntzer/dt
timhoffm Oct 12, 2021
c657a2a
Fix type1font docstring markup/punctuation.
anntzer Oct 12, 2021
6cf17ba
Merge pull request #21343 from anntzer/t1d
jklymak Oct 13, 2021
92f0187
DOC/STY: remove white space and hedge language
tacaswell Oct 13, 2021
3712476
DOC: fix typo
tacaswell Oct 13, 2021
04a9cbc
Remove plot_gallery setting from conf.py
timhoffm Oct 13, 2021
fcf3f72
Make image_comparison work even without the autoclose fixture.
anntzer Oct 1, 2021
0fdb28f
Merge pull request #21350 from timhoffm/np-plot-gallery
QuLogic Oct 14, 2021
b2018cd
Merge pull request #21256 from anntzer/cf
QuLogic Oct 14, 2021
c758196
DOC: move usage tutorial info to Users guide rst [skip actions] [skip…
jklymak Oct 14, 2021
a8d3620
DOC: move usage tutorial info to Users guide rst [skip actions] [skip…
jklymak Oct 14, 2021
edb0ac6
DOC: move usage tutorial info to Users guide rst [skip actions] [skip…
jklymak Oct 14, 2021
3f67540
DOC: remove test from README.rst
jklymak Oct 14, 2021
3d940e3
Merge pull request #21357 from jklymak/doc-removetest-readme
timhoffm Oct 14, 2021
bb7e240
DOC: move usage tutorial info to Users guide rst [skip actions] [skip…
jklymak Oct 14, 2021
1c346b8
DOC: move usage tutorial info to Users guide rst [skip actions] [skip…
jklymak Oct 14, 2021
aa122c0
Merge pull request #21335 from jklymak/doc-move-backend
timhoffm Oct 14, 2021
c8a902d
Add GHA testing whether files were added and deleted in the same PR.
anntzer Oct 14, 2021
9e2f309
Merge pull request #21287 from anntzer/id
timhoffm Oct 15, 2021
44fa101
Fix flake8 from #21335
timhoffm Oct 15, 2021
7c6d9eb
Merge pull request #21361 from timhoffm/fix-flake8
QuLogic Oct 15, 2021
394632c
remove dpi pil_kwarg from print_webp
kinshukdua Oct 15, 2021
977bff2
Simplify wording of allowed errorbar() error values
timhoffm Oct 15, 2021
5f4a8ad
Merge pull request #21289 from anntzer/ilb
QuLogic Oct 15, 2021
60466fb
Merge pull request #21274 from kinshukdua/master
QuLogic Oct 15, 2021
1e8286d
Merge pull request #21362 from timhoffm/errorbar-note
jklymak Oct 15, 2021
5a99a60
Merge pull request #21359 from anntzer/cleanpr
timhoffm Oct 15, 2021
59522d0
Raise an exception when find_tex_file fails to find a file.
anntzer Oct 14, 2021
3587a9f
Merge pull request #21356 from anntzer/ftf
QuLogic Oct 15, 2021
eccdda1
DOC: edits from review
tacaswell Oct 15, 2021
3e9425f
Merge pull request #20708 from uihsnv/lmodern-doc
timhoffm Oct 16, 2021
14bad63
Demonstrate inset_axes in scatter_hist example.
anntzer Oct 5, 2021
a9bba75
Merge pull request #21283 from anntzer/ia
story645 Oct 16, 2021
aeba9ac
Factor common parts of saving to different formats using pillow.
anntzer Oct 18, 2021
3c6d8a8
Enable tests for text path based markers
deep-jkl Oct 18, 2021
9568e14
Merge pull request #21377 from deep-jkl/enable_text_marker_tests
QuLogic Oct 18, 2021
6d15535
Document what indexing a GridSpec returns
dstansby Oct 19, 2021
a35d2e5
Merge pull request #21385 from dstansby/gridspec-doc
QuLogic Oct 19, 2021
9fb5370
Merge pull request #21376 from anntzer/aggfmts
story645 Oct 20, 2021
f96c73c
Log pixel coordinates in event_handling coords_demo example
jatin837 Oct 20, 2021
f6e0ee4
Merge pull request #21389 from jatin837/unused-pxl-coord
dstansby Oct 20, 2021
bd53eb2
Create backend_qt6.py
egormartiniuc Oct 20, 2021
ca10fe3
Create backend_qt6agg.py
egormartiniuc Oct 20, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ install:
# pull pywin32 from conda because on py38 there is something wrong with finding
# the dlls when insalled from pip
- conda install -c conda-forge pywin32
# install pyqt from conda-forge
- conda install -c conda-forge pyqt
- echo %PYTHON_VERSION% %TARGET_ARCH%
# Install dependencies from PyPI.
- python -m pip install --upgrade -r requirements/testing/all.txt %EXTRAREQS% %PINNEDVERS%
Expand Down
21 changes: 13 additions & 8 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,13 @@ commands:
- run:
name: Install Matplotlib
command: python -m pip install --user -ve .
- save_cache:
key: build-deps-1
paths:
# FreeType 2.6.1 tarball.
- ~/.cache/matplotlib/0a3c7dfbda6da1e8fce29232e8e96d987ababbbf71ebc8c75659e4132c367014
# Qhull 2020.2 tarball.
- ~/.cache/matplotlib/b5c2d7eb833278881b952c8a52d20179eab87766b00b865000469a45c1838b7e

doc-build:
steps:
Expand All @@ -117,15 +124,13 @@ commands:
command: |
# Set epoch to date of latest tag.
export SOURCE_DATE_EPOCH="$(git log -1 --format=%at $(git describe --abbrev=0))"
# Include analytics only when deploying to devdocs.
if [ "$CIRCLE_PROJECT_USERNAME" != "matplotlib" ] || \
[ "$CIRCLE_BRANCH" != "master" ] || \
[[ "$CIRCLE_PULL_REQUEST" == https://github.com/matplotlib/matplotlib/pull/* ]]; then
export ANALYTICS=False
else
export ANALYTICS=True
# Set release mode only when deploying to devdocs.
if [ "$CIRCLE_PROJECT_USERNAME" = "matplotlib" ] && \
[ "$CIRCLE_BRANCH" = "master" ] && \
[ "$CIRCLE_PR_NUMBER" = "" ]; then
export RELEASE_TAG='-t release'
fi
make html O="-T -Ainclude_analytics=$ANALYTICS"
make html O="-T $RELEASE_TAG"
rm -r build/html/_sources
working_directory: doc
- save_cache:
Expand Down
12 changes: 8 additions & 4 deletions .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ per-file-ignores =
lib/mpl_toolkits/tests/conftest.py: F401
lib/pylab.py: F401, F403

doc/conf.py: E402, E501
doc/conf.py: E402
tutorials/advanced/path_tutorial.py: E402
tutorials/advanced/patheffects_guide.py: E402
tutorials/advanced/transforms_tutorial.py: E402, E501
Expand Down Expand Up @@ -120,11 +120,15 @@ per-file-ignores =
examples/style_sheets/plot_solarizedlight2.py: E501
examples/subplots_axes_and_figures/demo_constrained_layout.py: E402
examples/text_labels_and_annotations/custom_legends.py: E402
examples/ticks_and_spines/date_concise_formatter.py: E402
examples/ticks/date_concise_formatter.py: E402
examples/user_interfaces/embedding_in_gtk3_panzoom_sgskip.py: E402
examples/user_interfaces/embedding_in_gtk3_sgskip.py: E402
examples/user_interfaces/gtk_spreadsheet_sgskip.py: E402
examples/user_interfaces/embedding_in_gtk4_panzoom_sgskip.py: E402
examples/user_interfaces/embedding_in_gtk4_sgskip.py: E402
examples/user_interfaces/gtk3_spreadsheet_sgskip.py: E402
examples/user_interfaces/gtk4_spreadsheet_sgskip.py: E402
examples/user_interfaces/mpl_with_glade3_sgskip.py: E402
examples/user_interfaces/pylab_with_gtk_sgskip.py: E402
examples/user_interfaces/pylab_with_gtk3_sgskip.py: E402
examples/user_interfaces/pylab_with_gtk4_sgskip.py: E402
examples/user_interfaces/toolmanager_sgskip.py: E402
examples/userdemo/pgf_preamble_sgskip.py: E402
2 changes: 1 addition & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# These are supported funding model platforms
github: [numfocus]
github: [matplotlib, numfocus]
custom: https://numfocus.org/donate-to-matplotlib
16 changes: 15 additions & 1 deletion .github/workflows/cibuildwheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@ jobs:
env:
min-numpy-version: "1.17.3"
min-numpy-hash: "b6/d6/be8f975f5322336f62371c9abeb936d592c98c047ad63035f1b38ae08efe"
CIBW_ARCHS_MACOS: "x86_64 universal2 arm64"
strategy:
matrix:
os: [ubuntu-18.04, windows-latest, macos-latest]
os: [ubuntu-18.04, windows-latest, macos-10.15]
cibw_archs: ["auto"]
include:
- os: ubuntu-18.04
Expand Down Expand Up @@ -60,6 +61,18 @@ jobs:
CIBW_BUILD: "cp37-* cp38-*"
CIBW_ARCHS: aarch64

- name: Build wheels for CPython 3.10
run: |
python -m cibuildwheel --output-dir dist
if: matrix.os != 'macos-10.15'
env:
CIBW_BUILD: "cp310-*"
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014
CIBW_MANYLINUX_I686_IMAGE: manylinux2014
CIBW_BEFORE_BUILD: pip install certifi numpy==1.21.2
MPL_DISABLE_FH4: "yes"
CIBW_ARCHS: ${{ matrix.cibw_archs }}

- name: Build wheels for CPython 3.9
run: |
python -m cibuildwheel --output-dir dist
Expand Down Expand Up @@ -89,6 +102,7 @@ jobs:
CIBW_BUILD: "pp37-*"
CIBW_BEFORE_BUILD: pip install certifi numpy==${{ env.min-numpy-version }}
CIBW_ARCHS: ${{ matrix.cibw_archs }}
PIP_USE_FEATURE: in-tree-build
if: matrix.cibw_archs != 'aarch64'

- name: Validate that LICENSE files are included in wheels
Expand Down
22 changes: 22 additions & 0 deletions .github/workflows/clean_pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: PR cleanliness
on: [pull_request]

jobs:
pr_clean:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
with:
fetch-depth: '0'
- name: Check for added-and-deleted files
run: |
git fetch --quiet origin "$GITHUB_BASE_REF"
base="$(git merge-base "origin/$GITHUB_BASE_REF" 'HEAD^2')"
ad="$(git log "$base..HEAD^2" --pretty=tformat: --name-status --diff-filter=AD |
cut --fields 2 | sort | uniq --repeated)"
if [[ -n "$ad" ]]; then
printf 'The following files were both added and deleted in this PR:\n%s\n' "$ad"
exit 1
fi

51 changes: 26 additions & 25 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -171,37 +171,38 @@ jobs:
# (sometimes, the install appears to be successful but shared
# libraries cannot be loaded at runtime, so an actual import is a
# better check).
if [[ "${{ runner.os }}" != 'macOS' ]]; then
# PyGObject, pycairo, and cariocffi do not install on OSX 10.12.
python -m pip install --upgrade pycairo 'cairocffi>=0.8' PyGObject &&
python -c 'import gi; gi.require_version("Gtk", "3.0"); from gi.repository import Gtk' &&
echo 'PyGObject is available' ||
echo 'PyGObject is not available'
# PyGObject, pycairo, and cariocffi do not install on OSX 10.12.
python -m pip install --upgrade pycairo 'cairocffi>=0.8' PyGObject &&
python -c 'import gi; gi.require_version("Gtk", "3.0"); from gi.repository import Gtk' &&
echo 'PyGObject is available' ||
echo 'PyGObject is not available'

# There are no functioning wheels available for OSX 10.12 (as of
# Sept 2020) for either pyqt5 (there are only wheels for 10.13+) or
# pyside2 (the latest version (5.13.2) with 10.12 wheels has a
# fatal to us bug, it was fixed in 5.14.0 which has 10.13 wheels)
python -mpip install --upgrade pyqt5${{ matrix.pyqt5-ver }} &&
python -c 'import PyQt5.QtCore' &&
echo 'PyQt5 is available' ||
echo 'PyQt5 is not available'
# There are no functioning wheels available for OSX 10.12 (as of
# Sept 2020) for either pyqt5 (there are only wheels for 10.13+) or
# pyside2 (the latest version (5.13.2) with 10.12 wheels has a
# fatal to us bug, it was fixed in 5.14.0 which has 10.13 wheels)
python -mpip install --upgrade pyqt5${{ matrix.pyqt5-ver }} &&
python -c 'import PyQt5.QtCore' &&
echo 'PyQt5 is available' ||
echo 'PyQt5 is not available'
if [[ "${{ runner.os }}" != 'macOS' ]]; then
python -mpip install --upgrade pyside2 &&
python -c 'import PySide2.QtCore' &&
echo 'PySide2 is available' ||
echo 'PySide2 is not available'
# Qt6 crashes on Github's ubuntu 18.04 runner.
if [[ "${{ matrix.os }}" = ubuntu-20.04 ]]; then
python -mpip install --upgrade pyqt6 &&
python -c 'import PyQt6.QtCore' &&
echo 'PyQt6 is available' ||
echo 'PyQt6 is not available'
python -mpip install --upgrade pyside6 &&
python -c 'import PySide6.QtCore' &&
echo 'PySide6 is available' ||
echo 'PySide6 is not available'
fi
fi
# Qt6 crashes on Github's ubuntu 18.04 runner.
if [[ "${{ matrix.os }}" = ubuntu-20.04 ]]; then
python -mpip install --upgrade pyqt6 &&
python -c 'import PyQt6.QtCore' &&
echo 'PyQt6 is available' ||
echo 'PyQt6 is not available'
python -mpip install --upgrade pyside6 &&
python -c 'import PySide6.QtCore' &&
echo 'PySide6 is available' ||
echo 'PySide6 is not available'
fi

python -mpip install --upgrade \
-f "https://extras.wxpython.org/wxPython4/extras/linux/gtk3/${{ matrix.os }}" \
wxPython &&
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ doc/plot_types
doc/pyplots/tex_demo.png
doc/tutorials
lib/dateutil
examples/*/*.bmp
examples/*/*.eps
examples/*/*.pdf
examples/*/*.png
Expand Down
18 changes: 18 additions & 0 deletions LICENSE/LICENSE_COURIERTEN
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
The Courier10PitchBT-Bold.pfb file is a Type-1 version of
Courier 10 Pitch BT Bold by Bitstream, obtained from
<https://ctan.org/tex-archive/fonts/courierten>. It is included
here as test data only, but the following license applies.


(c) Copyright 1989-1992, Bitstream Inc., Cambridge, MA.

You are hereby granted permission under all Bitstream propriety rights
to use, copy, modify, sublicense, sell, and redistribute the 4 Bitstream
Charter (r) Type 1 outline fonts and the 4 Courier Type 1 outline fonts
for any purpose and without restriction; provided, that this notice is
left intact on all copies of such fonts and that Bitstream's trademark
is acknowledged as shown below on all unmodified copies of the 4 Charter
Type 1 fonts.

BITSTREAM CHARTER is a registered trademark of Bitstream Inc.

57 changes: 28 additions & 29 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,53 +42,52 @@

.. image:: https://matplotlib.org/_static/logo2.svg

Matplotlib is a comprehensive library for creating static, animated, and interactive visualizations in Python.
Matplotlib is a comprehensive library for creating static, animated, and
interactive visualizations in Python.

Check out our `home page <https://matplotlib.org/>`_ for more information.

.. image:: https://matplotlib.org/_static/readme_preview.png

Matplotlib produces publication-quality figures in a variety of hardcopy formats
and interactive environments across platforms. Matplotlib can be used in Python scripts,
the Python and IPython shell, web application servers, and various
graphical user interface toolkits.
Matplotlib produces publication-quality figures in a variety of hardcopy
formats and interactive environments across platforms. Matplotlib can be used
in Python scripts, the Python and IPython shell, web application servers, and
various graphical user interface toolkits.


Install
=======

For installation instructions and requirements, see `INSTALL.rst <INSTALL.rst>`_ or the
`install <https://matplotlib.org/users/installing.html>`_ documentation.

Test
====

After installation, launch the test suite::

python -m pytest

Read the `testing guide <https://matplotlib.org/devel/testing.html>`_ for more information and alternatives.
`install <https://matplotlib.org/stable/users/installing.html>`_ documentation.

Contribute
==========

You've discovered a bug or something else you want to change - excellent!

You've worked out a way to fix it – even better!

You want to tell us about it – best of all!

Start at the `contributing guide <https://matplotlib.org/devdocs/devel/contributing.html>`_!
Start at the `contributing guide
<https://matplotlib.org/devdocs/devel/contributing.html>`_!

Contact
=======

`Discourse <https://discourse.matplotlib.org/>`_ is the discussion forum for general questions and discussions and our recommended starting point.
`Discourse <https://discourse.matplotlib.org/>`_ is the discussion forum for
general questions and discussions and our recommended starting point.

Our active mailing lists (which are mirrored on Discourse) are:

* `Users <https://mail.python.org/mailman/listinfo/matplotlib-users>`_ mailing list: matplotlib-users@python.org
* `Announcement <https://mail.python.org/mailman/listinfo/matplotlib-announce>`_ mailing list: matplotlib-announce@python.org
* `Development <https://mail.python.org/mailman/listinfo/matplotlib-devel>`_ mailing list: matplotlib-devel@python.org
* `Users <https://mail.python.org/mailman/listinfo/matplotlib-users>`_ mailing
list: matplotlib-users@python.org
* `Announcement
<https://mail.python.org/mailman/listinfo/matplotlib-announce>`_ mailing
list: matplotlib-announce@python.org
* `Development <https://mail.python.org/mailman/listinfo/matplotlib-devel>`_
mailing list: matplotlib-devel@python.org

Gitter_ is for coordinating development and asking questions directly related
to contributing to matplotlib.
Expand All @@ -99,21 +98,21 @@ Citing Matplotlib
If Matplotlib contributes to a project that leads to publication, please
acknowledge this by citing Matplotlib.

`A ready-made citation entry <https://matplotlib.org/citing.html>`_ is available.
`A ready-made citation entry <https://matplotlib.org/stable/citing.html>`_ is
available.

Research notice
~~~~~~~~~~~~~~~

Please note that this repository is participating in a study into
sustainability of open source projects. Data will be gathered about this
repository for approximately the next 12 months, starting from June
2021.
repository for approximately the next 12 months, starting from June 2021.

Data collected will include number of contributors, number of PRs, time
taken to close/merge these PRs, and issues closed.
Data collected will include number of contributors, number of PRs, time taken
to close/merge these PRs, and issues closed.

For more information, please visit `the informational
page <https://sustainable-open-science-and-software.github.io/>`__ or
download the `participant information
sheet <https://sustainable-open-science-and-software.github.io/assets/PIS_sustainable_software.pdf>`__.
For more information, please visit `the informational page
<https://sustainable-open-science-and-software.github.io/>`__ or download the
`participant information sheet
<https://sustainable-open-science-and-software.github.io/assets/PIS_sustainable_software.pdf>`__.

33 changes: 33 additions & 0 deletions doc/_static/mpl.css
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,41 @@ does not float with it.

}

/* slightly reduce horizontal margin compared to gallery.css to
* get four columns of thumbnails in the pydata-sphinx-theme. */
.sphx-glr-thumbcontainer {
margin: 5px 2px;
}

/* workaround: the default padding decenters the image inside the frame */
.sphx-glr-thumbcontainer .figure {
padding: 0;
}

table.property-table th,
table.property-table td {
padding: 4px 10px;
}

.sidebar-cheatsheets, .sidebar-donate {
margin: 2.75rem 0;
}

.sidebar-donate .mpl-button {
/* fix width to width of cheatsheet */
width: 210px;
}

/* Two columns for install code blocks */
div.twocol {
padding-left: 0;
padding-right: 0;
display: flex;
gap: 20px;
}

div.twocol > div {
flex-grow: 1;
padding: 0;
margin: 0;
}
9 changes: 9 additions & 0 deletions doc/_templates/cheatsheet_sidebar.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@

<div class="sidebar-cheatsheets">
<h3>Matplotlib cheatsheets</h3>
<a href="https://github.com/matplotlib/cheatsheets#cheatsheets">
<img src="_static/mpl_cheatsheet1.png"
alt="Matplotlib cheatsheets"
srcset="_static/mpl_cheatsheet1.png 1x, _static/mpl_cheatsheet1_2x.png 2x"/>
</a>
</div>
6 changes: 4 additions & 2 deletions doc/_templates/donate_sidebar.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@



<div id="sidebar-donations">
<a href="https://numfocus.org/donate-to-matplotlib" target="_blank"> <span class="mpl-button donate_button" >Support Matplotlib</span></a>
<div class="sidebar-donate">
<a href="https://numfocus.org/donate-to-matplotlib" target="_blank">
<span class="mpl-button" >Support Matplotlib</span>
</a>
</div>
Loading