Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add \underline to mathtext #15624

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 360 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
360 commits
Select commit Hold shift + click to select a range
f96a463
Fix validate_markevery docstring markup.
anntzer Sep 12, 2021
47602ee
Merge pull request #21053 from anntzer/vme
timhoffm Sep 12, 2021
2d2fcb4
Remove dummy test command from setup.py
timhoffm Sep 12, 2021
23f1da4
Merge pull request #21059 from timhoffm/cleanup-setup_py
dstansby Sep 12, 2021
f630a73
Correct the default for fillstyle parameter in MarkerStyle()
timhoffm Sep 13, 2021
f13147a
Merge pull request #21060 from timhoffm/marker-default-fillstyle
anntzer Sep 13, 2021
72c9c00
Fix typo in template of current dev-docs
deep-jkl Sep 13, 2021
b8aa5b2
Remove most visible dependencies on distutils.
anntzer Sep 13, 2021
40de2cf
Deprecate support for no-args MarkerStyle().
anntzer Sep 12, 2021
d27fba3
Merge pull request #21062 from deep-jkl/typo-in-new-doc-template
dstansby Sep 13, 2021
cc2af22
Update lib/mpl_toolkits/mplot3d/axes3d.py
jyjoshi Sep 13, 2021
143c30e
Update lib/matplotlib/colors.py
story645 Sep 13, 2021
2e34f38
Merge pull request #21056 from anntzer/msn
jklymak Sep 13, 2021
20170d7
Merge pull request #20913 from story645/story645-to_hex
timhoffm Sep 13, 2021
4cef945
Support marker="none" to mean "no marker".
anntzer Sep 12, 2021
51438b2
Docstring updated for scatter method
jyjoshi Sep 13, 2021
38bfebc
Merge pull request #20819 from hrnciar/wheels-py3.10
QuLogic Sep 13, 2021
55b0d93
Remove generated file accidentally added in #20867
QuLogic Sep 13, 2021
0c021c7
Use correct DPI when drawing in Cairo renderers
QuLogic Sep 9, 2021
ed53303
Added decorators to more methods in axes3d.py
jyjoshi Sep 13, 2021
630f25f
Set device pixel ratio when saving a figure
QuLogic Sep 9, 2021
9598205
De-duplicate some unit conversion in Cairo
QuLogic Sep 9, 2021
592319e
Merge pull request #21067 from QuLogic/delete-extra
story645 Sep 13, 2021
1a0ebbb
Merge pull request #21051 from anntzer/gdbdashes
QuLogic Sep 13, 2021
fd3f25e
Merge pull request #21049 from timhoffm/simplify-legend-attrs
QuLogic Sep 13, 2021
d480f24
Explicit registration of canvas-specific tool subclasses.
anntzer Sep 3, 2021
9bbef1e
Merge pull request #21025 from QuLogic/cairo-hidpi
anntzer Sep 14, 2021
0e14162
Merge pull request #21061 from anntzer/ud
QuLogic Sep 14, 2021
96b1923
Use sysconfig directly instead of through distutils
QuLogic Sep 14, 2021
b1cdc67
Merge pull request #21072 from QuLogic/sysconfig
dstansby Sep 14, 2021
8c2a65d
Merge pull request #21055 from anntzer/mn
jklymak Sep 14, 2021
913eacb
Break links between twinned axes when removing
dstansby Sep 14, 2021
d37d732
Merge pull request #21076 from dstansby/twin-remove
tacaswell Sep 14, 2021
c19c9fa
Merge pull request #20990 from anntzer/tsr
fariza Sep 14, 2021
da5af35
Cache build dependencies on Circle
QuLogic Sep 15, 2021
1677912
Merge pull request #21078 from QuLogic/circle-cache-build
dstansby Sep 15, 2021
c53216b
Merge pull request #19619 from r03ert0/patch-1
jklymak Sep 15, 2021
b14a688
Improve docs for to_jshtml()
dstansby Sep 15, 2021
ce70a21
Add HiDPI support in GTK
QuLogic Sep 3, 2021
0c0fc47
gtk3: Remove POINTER_MOTION_HINT_MASK usage entirely
QuLogic Sep 8, 2021
f53c28d
Calculate initial GTK window size using logical DPI
QuLogic Sep 9, 2021
76c2c7f
Fix rubberband on Cairo
QuLogic Sep 15, 2021
efea32c
Fix layout of sidebar entries
timhoffm Sep 15, 2021
20d92cc
Deprecate MarkerStyle(None).
anntzer Sep 13, 2021
c58564e
Merge pull request #20988 from QuLogic/gtk-hidpi
QuLogic Sep 16, 2021
eecdbbc
Merge pull request #21082 from timhoffm/doc-sidebar-layout
QuLogic Sep 16, 2021
5b31240
Fix overindented bullet list in docs.
anntzer Sep 16, 2021
db71cb8
Update sticky_edges docstring to new behavior.
anntzer Sep 16, 2021
88ba86b
Merge pull request #21088 from anntzer/obl
jklymak Sep 16, 2021
f44294a
Merge pull request #21089 from anntzer/se
timhoffm Sep 16, 2021
ec3966b
Merge pull request #20903 from ericpre/fix_dev_version_from_git_repo
tacaswell Sep 16, 2021
4d6ab93
Merge pull request #20935 from timhoffm/experimental-colormaps
tacaswell Sep 16, 2021
66aae22
Cleanup demo_tight_layout.
anntzer Sep 16, 2021
03fbe7c
Fix capitalizations
timhoffm Sep 15, 2021
ded4951
Merge pull request #21074 from anntzer/msn2
timhoffm Sep 16, 2021
e14661f
Merge pull request #21100 from anntzer/dtl
timhoffm Sep 16, 2021
1502825
Remove the index and module index pages
timhoffm Sep 16, 2021
5d0b769
Merge pull request #21083 from timhoffm/doc-caps
timhoffm Sep 16, 2021
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
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
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
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
e01d4f1
Merge pull request #21263 from QuLogic/better-freetype-compile
QuLogic Oct 4, 2021
a166356
Merge branch 'master' into underline
wesbarnett Oct 5, 2021
0d36969
add back code to new location
wesbarnett Oct 5, 2021
87c0730
update documentation
wesbarnett Oct 5, 2021
f6889cc
add tests
wesbarnett Oct 5, 2021
5e23dc2
correct doc
wesbarnett Oct 5, 2021
ba67ed7
add whatsnew entry
wesbarnett Oct 5, 2021
d7f6ad5
rm erroneous line
wesbarnett Oct 5, 2021
827e09a
MathJax -> mathtext
wesbarnett Oct 5, 2021
38e4a55
fix underline being too short
wesbarnett Oct 5, 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
13 changes: 13 additions & 0 deletions .github/workflows/cibuildwheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ 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]
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-latest'
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
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: [email protected]
* `Announcement <https://mail.python.org/mailman/listinfo/matplotlib-announce>`_ mailing list: [email protected]
* `Development <https://mail.python.org/mailman/listinfo/matplotlib-devel>`_ mailing list: [email protected]
* `Users <https://mail.python.org/mailman/listinfo/matplotlib-users>`_ mailing
list: [email protected]
* `Announcement
<https://mail.python.org/mailman/listinfo/matplotlib-announce>`_ mailing
list: [email protected]
* `Development <https://mail.python.org/mailman/listinfo/matplotlib-devel>`_
mailing list: [email protected]

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>
3 changes: 2 additions & 1 deletion doc/api/animation_api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ to. If you do not hold a reference to the `Animation` object, it (and
hence the timers) will be garbage collected which will stop the
animation.

To save an animation to disk use `Animation.save` or `Animation.to_html5_video`
To save an animation use `Animation.save`, `Animation.to_html5_video`,
or `Animation.to_jshtml`.

See :ref:`ani_writer_classes` below for details about what movie formats are
supported.
Expand Down
Loading