Skip to content

Fix bound-detection in Axes3D.contour for different-length 1D coordinates #21322

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 415 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
415 commits
Select commit Hold shift + click to select a range
86e19ad
Merge pull request #21034 from anntzer/rcb
timhoffm Sep 16, 2021
2b0acba
Capitalization fixes in example section titles.
anntzer Sep 16, 2021
55a55ef
Move colormap examples from userdemo to images_contours_and_fields.
anntzer Sep 16, 2021
aa53c7c
Merge pull request #21087 from anntzer/ie
timhoffm Sep 17, 2021
9465538
Merge pull request #21104 from timhoffm/doc-remove-index
tacaswell Sep 17, 2021
a00a909
Fix make_norm_from_scale `__name__` when used inline.
anntzer Sep 18, 2021
84cc534
Rename section title Gallery -> Examples
timhoffm Sep 17, 2021
81c190b
Improve errorbar plot types example
timhoffm Sep 18, 2021
22ee166
Adapt css so that galleries have four columns
timhoffm Sep 18, 2021
ef86a51
Merge pull request #21115 from timhoffm/doc-errorbar-plot-types
story645 Sep 19, 2021
b8dcf0b
Merge pull request #20951 from jayjoshi112711/20912-data-kwarg-suppor…
story645 Sep 19, 2021
04a43d6
Merge pull request #21112 from anntzer/mnfsn
story645 Sep 19, 2021
16974b9
Merge pull request #21111 from timhoffm/doc-exampls
timhoffm Sep 19, 2021
979fe94
DOC: clarify what we mean by object oriented
jklymak Sep 16, 2021
7b9200e
Merge pull request #21116 from timhoffm/gallery-css
anntzer Sep 19, 2021
1384627
CTRL does not fix aspect in zoom-to-rect mode.
anntzer Sep 19, 2021
2d2b5df
Simplify/uniformize sample data setup in plot_types examples.
anntzer Sep 19, 2021
4ef2161
Merge pull request #21086 from anntzer/esc
timhoffm Sep 19, 2021
8f0c3ac
Simplify argument parsing in stem().
anntzer Sep 19, 2021
70f2145
Merge pull request #21123 from anntzer/ptm
story645 Sep 19, 2021
a5ce61f
Fix decenter of image in gallery thumbnails
timhoffm Sep 19, 2021
64e7b2e
Add contour and tricontour plots to plot types
timhoffm Sep 18, 2021
db6dff4
Merge pull request #21129 from timhoffm/gallery-css-fig-padding
tacaswell Sep 19, 2021
b26dbcd
Merge pull request #21093 from jklymak/doc-clarify-object-oriented
timhoffm Sep 19, 2021
211cbc0
Tweak streamplot plot_types example.
anntzer Sep 19, 2021
03d25d9
Merge pull request #21114 from timhoffm/doc-contour-types
timhoffm Sep 19, 2021
10f5b60
Merge pull request #21124 from anntzer/sp
timhoffm Sep 19, 2021
6b149ca
Consider new plots for gallery ordering
timhoffm Sep 19, 2021
6c6acfc
Fix polar() regression on second call failure
beckja Sep 19, 2021
9ee9f3e
STY: tweak unpacking in polar test a bit
tacaswell Sep 19, 2021
3b52c10
Small cleanups to colorbar.
anntzer Sep 20, 2021
c757fe1
Merge pull request #21131 from beckja/polar-fix
jklymak Sep 20, 2021
0cd51be
ENH: Adding zoom and pan to colorbar
greglucas Feb 15, 2021
dc0fd65
MAINT: Refactor zoom/pan code to use helpers
greglucas May 31, 2021
48d0663
MNT: Updating Colorbar zoom rectangle and selections
greglucas Jul 9, 2021
011551f
TST: Adding interactive colorbar tests
greglucas Jul 9, 2021
b4ddd97
DOC: Updating API release note for colorbar interactivity
greglucas Sep 16, 2021
e1f9cc9
FIX: Add cla() function to colorbar interactivity
greglucas Sep 16, 2021
21fc347
FIX: Allow colorbar zoom when the short-axis values are close
greglucas Sep 18, 2021
2b15797
Merge pull request #21137 from anntzer/cb
greglucas Sep 20, 2021
5072694
Docstring cleanups around DATA_PARAMETER_PLACEHOLDER.
anntzer Sep 20, 2021
774b811
TST: signal alias does not exist on OSX
tacaswell Sep 20, 2021
97e5042
Fix DATA_PARAMETER_PLACEHOLDER interpolation for quiver&contour{,f}.
anntzer Sep 20, 2021
a35f108
Merge pull request #19515 from greglucas/colorbar-axes-zoom
jklymak Sep 21, 2021
d9cbcae
Merge pull request #21122 from anntzer/ztr
timhoffm Sep 21, 2021
0e49285
Fix format_cursor_data with nans.
anntzer Sep 21, 2021
27fa740
TST: enable GUI framework testing on OSX on GHA
tacaswell Sep 20, 2021
2b3c39f
TST: make the qt key tests match what OSX does
tacaswell Sep 20, 2021
2d8f3be
Fix clim handling for pcolor{,mesh}.
anntzer Sep 21, 2021
e487b1c
Add user supplied transforms and join/cap styles
deep-jkl Jul 23, 2021
37859ea
Avoid reinstanting MarkerStyle in lines.py
deep-jkl Aug 26, 2021
8153632
Update dosctring.
deep-jkl Sep 5, 2021
4469006
Add marker.transformed + test
deep-jkl Sep 6, 2021
4ea2b91
Add affine transform primitives to markers
deep-jkl Sep 10, 2021
7f6d1be
Tweaking docstrings in MarkerStyle.
deep-jkl Sep 11, 2021
2729fe4
Update MarkerStyle module documentation
deep-jkl Sep 12, 2021
4357995
Update marker Reference documentation
deep-jkl Sep 12, 2021
b1bbdff
Add whats new for MarkerStyle features
deep-jkl Sep 12, 2021
9ac3ad2
Add new example with advanced MarkerStyle mapping
deep-jkl Sep 12, 2021
4180843
Fix errors discovered by CI
deep-jkl Sep 12, 2021
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
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
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
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
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
6c1b199
Add test of 3d contour with different-length 1d coords
DWesl Oct 8, 2021
40c3ca2
Fix 3d contour handling of different-length 1d X, Y
DWesl Oct 8, 2021
8fd2324
Move the meshgrid call to the start of contour
DWesl Oct 12, 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
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.

51 changes: 30 additions & 21 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,23 +42,24 @@

.. 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.
`install <https://matplotlib.org/stable/users/installing.html>`_ documentation.

Test
====
Expand All @@ -67,28 +68,36 @@ After installation, launch the test suite::

python -m pytest

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

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 +108,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>`__.

19 changes: 19 additions & 0 deletions doc/_static/mpl.css
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,27 @@ 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;
}
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>
24 changes: 24 additions & 0 deletions doc/_templates/mpl_nav_bar.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<ul id="navbar-main-elements" class="navbar-nav">

<li class="nav-item">
<a class="reference internal nav-link" href="{{ pathto('plot_types/index') }}">Plot types</a>
</li>
<li class="nav-item">
<a class="reference internal nav-link" href="{{ pathto('gallery/index') }}">Examples</a>
</li>
<li class="nav-item">
<a class="reference internal nav-link" href="{{ pathto('tutorials/index') }}">Tutorials</a>
</li>
<li class="nav-item">
<a class="reference internal nav-link" href="{{ pathto('api/index') }}">Reference</a>
</li>
<li class="nav-item">
<a class="reference internal nav-link" href="{{ pathto('users/index') }}">Usage guide</a>
</li>
<li class="nav-item">
<a class="reference internal nav-link" href="{{ pathto('devel/index') }}">Develop</a>
</li>
<li class="nav-item">
<a class="reference internal nav-link" href="{{ pathto('users/release_notes') }}">Release notes</a>
</li>
</ul>
9 changes: 0 additions & 9 deletions doc/_templates/sidebar_versions.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,3 @@
getSnippet('other_versions', '/versions.html');
</script>
</div>

<div class="sphinxsidebarwrapper">
<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>
Loading