Skip to content

DOC: Nav-bar: Add icon linking to contents #21224

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 287 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
287 commits
Select commit Hold shift + click to select a range
3eeae5b
Build wheels for Apple Silicon.
QuLogic Sep 2, 2021
fafe155
Merge pull request #20970 from QuLogic/m1-wheel
story645 Sep 2, 2021
640f96d
Cleanup some dviread docstrings.
anntzer Sep 2, 2021
3d7c92c
Docstring cleanups.
anntzer Sep 2, 2021
a1c69dd
Rename symbol_name to glyph_name where appropriate.
anntzer Sep 2, 2021
039c94a
Merge pull request #20973 from anntzer/d401
story645 Sep 2, 2021
75710ed
Clarify support for 2D coordinate inputs to streamplot.
anntzer Sep 2, 2021
8e400d8
Merge pull request #20975 from anntzer/s2d
timhoffm Sep 2, 2021
2a1075b
Merge pull request #20972 from anntzer/dd
timhoffm Sep 2, 2021
4e21dcf
Merge pull request #20942 from timhoffm/doc-axes-capitalization
timhoffm Sep 2, 2021
5656d11
Merge pull request #20974 from anntzer/gn
QuLogic Sep 2, 2021
f23fd1f
Make HandlerLine2D{,Compound} inherit constructors from HandlerNpoints.
anntzer Sep 3, 2021
64cca8e
FIX: remove colorbar from list of colorbars on axes if colorbar is re…
jklymak Sep 2, 2021
3983b39
TST: test remove colorbar with CL
jklymak Sep 3, 2021
93d6776
Branch Cleanup
jyjoshi Sep 3, 2021
39ae630
Branch Cleanup
jyjoshi Sep 3, 2021
a6221ed
Merge pull request #20986 from anntzer/lhhl
story645 Sep 3, 2021
f41edb6
FIX: colorbar with boundary norm, proportional, extend
jklymak Sep 4, 2021
6134061
Remove unused icon_filename, window_icon globals.
anntzer Sep 4, 2021
4dd72b9
Deprecate some backend_gtk3 helper globals.
anntzer Sep 4, 2021
72c728c
Fix ToolManager + TextBox support.
anntzer Sep 4, 2021
3361895
Merge pull request #20997 from anntzer/tmtb
timhoffm Sep 4, 2021
8ce14fb
Merge pull request #20987 from jklymak/fix-colorbar-boundary-extend
timhoffm Sep 5, 2021
1586fb5
Remove now-unused rcParams _deprecated entries.
anntzer Sep 6, 2021
f7622b6
Test the rcParams deprecation machinery.
anntzer Sep 6, 2021
162f688
Deemphasize mpl_toolkits in API docs.
anntzer Sep 5, 2021
481da9b
Separate tick and spine examples
dstansby Sep 7, 2021
cb17118
Merge pull request #21003 from anntzer/dtk
timhoffm Sep 7, 2021
79a29b6
Use numpydoc for GridSpecFromSubplotSpec.__init__
dstansby Sep 7, 2021
c4412e7
Merge pull request #21004 from anntzer/da
QuLogic Sep 7, 2021
7f89450
Merge pull request #20995 from anntzer/g3i
QuLogic Sep 7, 2021
d37075f
Merge pull request #21012 from dstansby/GridSpecFromSubplotSpec-doc
QuLogic Sep 7, 2021
8f62645
Merge pull request #20994 from anntzer/g4i
QuLogic Sep 7, 2021
308d2ac
Avoid TransformedBbox where unneeded.
anntzer Sep 7, 2018
7c3147b
FIX: Don't subslice lines if non-standar transform
jklymak Sep 8, 2021
3d7a46e
Merge pull request #20976 from dstansby/tick-spine-exs
timhoffm Sep 8, 2021
961a92c
Reword custom_ticker1 example.
anntzer Sep 8, 2021
39c5302
Merge pull request #21019 from anntzer/ct1
jklymak Sep 8, 2021
87bae58
Merge pull request #21010 from anntzer/ntb
dstansby Sep 8, 2021
eba5cdc
TST: add test for no subslice if we have a non-standard transform
jklymak Sep 8, 2021
971d110
Merge pull request #21005 from anntzer/rdmt
jklymak Sep 8, 2021
556651f
Factor out for_layout_only backcompat support in get_tightlayout.
anntzer Sep 8, 2021
ce9a7b1
Merge pull request #20518 from takimata/pgf_sketch_path
tacaswell Sep 8, 2021
9f81b0f
Inline ToolManager._trigger_tool to its sole call site.
anntzer Sep 8, 2021
ad4585b
Merge pull request #21023 from anntzer/tt
dstansby Sep 9, 2021
3db485c
Minor homogeneization of markup for MEP titles.
anntzer Sep 9, 2021
ca58e36
Merge pull request #21028 from anntzer/mep
timhoffm Sep 9, 2021
d7b2a8d
Merge pull request #20980 from jklymak/fix-remove-cb-cl
timhoffm Sep 9, 2021
568b0d5
Make date.{converter,interval_multiples} rcvalidators side-effect free.
anntzer Sep 9, 2021
b9ea8ce
Merge pull request #21017 from jklymak/fix-no-subslice-transform
timhoffm Sep 9, 2021
c265a33
Make rcParams["backend"] backend fallback check rcParams identity first.
anntzer Sep 9, 2021
c881d0c
Merge pull request #21021 from anntzer/tbflo
QuLogic Sep 10, 2021
45d0034
Merge pull request #21031 from anntzer/rcdg
jklymak Sep 10, 2021
0666c59
Merge pull request #20949 from anntzer/smd
jklymak Sep 10, 2021
72ab6ac
Don't add 1 to all hexbin data when using log norm
dstansby Sep 10, 2021
c8f8002
Fix hexbin marginals
dstansby Sep 10, 2021
fa982f0
Preprocessor Decorator added for 3d axes scatter function
jyjoshi Sep 11, 2021
f37b23a
Prefer "none" to "None" in docs, examples and comments.
anntzer Sep 11, 2021
1e0e235
support for back/forward mouse buttons with WX backend
Ptrskay3 Sep 11, 2021
deb36c9
Merge pull request #21041 from anntzer/none
timhoffm Sep 11, 2021
cf6ab09
Correct back/forward button assignment
Ptrskay3 Sep 11, 2021
1655dfc
Merge pull request #21040 from dpoznik/document-Legend-handleheight-p…
timhoffm Sep 11, 2021
6f6ba29
Simplify setting Legend attributes
timhoffm Sep 11, 2021
d78cdf6
DOC: add direct Matplotlib sponsorship to sponsor button
tacaswell Aug 20, 2021
c69ed3f
DOC: push up sphinx-pydata-theme dependency
tacaswell Sep 4, 2021
65cf35b
Merge pull request #21044 from Ptrskay3/enable-history-wx
timhoffm Sep 11, 2021
64df6ad
DOC: Rearrange documentation
tacaswell Aug 15, 2021
77aeddf
Merge pull request #20867 from tacaswell/doc_index_reorg
timhoffm Sep 12, 2021
74b76ae
Blank line removed
jyjoshi Sep 12, 2021
f012a0d
set_dashes does not support offset=None anymore.
anntzer Sep 11, 2021
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
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
d97c332
Merge pull request #21188 from anntzer/backenddocheaders
QuLogic Sep 28, 2021
a6e01b5
Merge pull request #21191 from anntzer/spec
QuLogic 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
d9f5d4d
DOC: Nav-bar: Add icon linking to contents
timhoffm Sep 29, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 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 Down
10 changes: 7 additions & 3 deletions .flake8
Original file line number Diff line number Diff line change
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
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>
29 changes: 29 additions & 0 deletions doc/_templates/mpl_nav_bar.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<ul id="navbar-main-elements" class="navbar-nav">
<li class="nav-item">
<a class="reference internal nav-link" href="{{ pathto('contents') }}" title="Contents">
<span><i class="fas fa-list" style="font-size: 1rem"></i>&nbsp;</span>
<label class="sr-only">Contents</label>
</a>
</li>
<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('contents') }}">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
5 changes: 2 additions & 3 deletions doc/api/backend_agg_api.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@

:mod:`matplotlib.backends.backend_agg`
======================================
:mod:`.backend_agg`
===================

.. automodule:: matplotlib.backends.backend_agg
:members:
Expand Down
5 changes: 2 additions & 3 deletions doc/api/backend_cairo_api.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@

:mod:`matplotlib.backends.backend_cairo`
========================================
:mod:`.backend_cairo`
=====================

.. automodule:: matplotlib.backends.backend_cairo
:members:
Expand Down
11 changes: 3 additions & 8 deletions doc/api/backend_gtk3_api.rst
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
:mod:`.backend_gtk3agg`, :mod:`.backend_gtk3cairo`
==================================================

**NOTE** These backends are not documented here, to avoid adding a dependency
to building the docs.

.. redirect-from:: /api/backend_gtk3agg_api
.. redirect-from:: /api/backend_gtk3cairo_api


:mod:`matplotlib.backends.backend_gtk3agg`
==========================================

.. module:: matplotlib.backends.backend_gtk3agg

:mod:`matplotlib.backends.backend_gtk3cairo`
============================================

.. module:: matplotlib.backends.backend_gtk3cairo
11 changes: 11 additions & 0 deletions doc/api/backend_gtk4_api.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
:mod:`.backend_gtk4agg`, :mod:`.backend_gtk4cairo`
==================================================

**NOTE** These backends are not documented here, to avoid adding a dependency
to building the docs.

.. redirect-from:: /api/backend_gtk4agg_api
.. redirect-from:: /api/backend_gtk4cairo_api

.. module:: matplotlib.backends.backend_gtk4agg
.. module:: matplotlib.backends.backend_gtk4cairo
5 changes: 2 additions & 3 deletions doc/api/backend_mixed_api.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@

:mod:`matplotlib.backends.backend_mixed`
========================================
:mod:`.backend_mixed`
=====================

.. automodule:: matplotlib.backends.backend_mixed
:members:
Expand Down
5 changes: 2 additions & 3 deletions doc/api/backend_nbagg_api.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@

:mod:`matplotlib.backends.backend_nbagg`
========================================
:mod:`.backend_nbagg`
=====================

.. automodule:: matplotlib.backends.backend_nbagg
:members:
Expand Down
5 changes: 2 additions & 3 deletions doc/api/backend_pdf_api.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@

:mod:`matplotlib.backends.backend_pdf`
======================================
:mod:`.backend_pdf`
===================

.. automodule:: matplotlib.backends.backend_pdf
:members:
Expand Down
5 changes: 2 additions & 3 deletions doc/api/backend_pgf_api.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@

:mod:`matplotlib.backends.backend_pgf`
======================================
:mod:`.backend_pgf`
===================

.. automodule:: matplotlib.backends.backend_pgf
:members:
Expand Down
5 changes: 2 additions & 3 deletions doc/api/backend_ps_api.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@

:mod:`matplotlib.backends.backend_ps`
=====================================
:mod:`.backend_ps`
==================

.. automodule:: matplotlib.backends.backend_ps
:members:
Expand Down
12 changes: 5 additions & 7 deletions doc/api/backend_qt_api.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
:mod:`.backend_qtagg`, :mod:`.backend_qtcairo`
==============================================

**NOTE** These backends are not documented here, to avoid adding a dependency
to building the docs.

Expand All @@ -6,12 +9,7 @@ to building the docs.
.. redirect-from:: /api/backend_qt5agg_api
.. redirect-from:: /api/backend_qt5cairo_api

:mod:`matplotlib.backends.backend_qt5agg`
=========================================

.. module:: matplotlib.backends.backend_qtagg
.. module:: matplotlib.backends.backend_qtcairo
.. module:: matplotlib.backends.backend_qt5agg

:mod:`matplotlib.backends.backend_qt5cairo`
===========================================

.. module:: matplotlib.backends.backend_qt5cairo
5 changes: 2 additions & 3 deletions doc/api/backend_svg_api.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@

:mod:`matplotlib.backends.backend_svg`
======================================
:mod:`.backend_svg`
===================

.. automodule:: matplotlib.backends.backend_svg
:members:
Expand Down
5 changes: 2 additions & 3 deletions doc/api/backend_template_api.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@

:mod:`matplotlib.backends.backend_template`
===========================================
:mod:`.backend_template`
========================

.. automodule:: matplotlib.backends.backend_template
:members:
Expand Down
8 changes: 2 additions & 6 deletions doc/api/backend_tk_api.rst
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@

:mod:`matplotlib.backends.backend_tkagg`
========================================
:mod:`.backend_tkagg`, :mod:`.backend_tkcairo`
==============================================

.. automodule:: matplotlib.backends.backend_tkagg
:members:
:undoc-members:
:show-inheritance:

:mod:`matplotlib.backends.backend_tkcairo`
==========================================

.. automodule:: matplotlib.backends.backend_tkcairo
:members:
:undoc-members:
Expand Down
Loading