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

Skip to content

added option to get_cmap("random") in cm.ColormapRegistry #24340

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 564 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
564 commits
Select commit Hold shift + click to select a range
924e210
Merge pull request #24111 from tacaswell/add_missing_cmap_registry_me…
QuLogic Oct 8, 2022
8387676
Clean up code in SecondaryAxis
oscargus Oct 4, 2022
318cb13
Bump version when invalid hatches error
oscargus Oct 8, 2022
20efcb2
DOC: align contour parameter doc with implementation
martok Oct 8, 2022
0213c7d
Expire deprecations in dates and ticker
oscargus Oct 8, 2022
b06715a
Temporarily pin setuptools in GHA
ianthomas23 Oct 8, 2022
19a7664
Merge pull request #24126 from oscargus/hatchupdate
timhoffm Oct 9, 2022
bdfd2ff
Use local dir for build_temp if coverage enabled
ianthomas23 Oct 9, 2022
834c89c
Merge pull request #24130 from martok/doc-contour-levels
timhoffm Oct 9, 2022
ff16e05
Edit matplotlibrc in place if editable mode install
ianthomas23 Oct 9, 2022
b417a29
Use handle.get_array to get mappable information
chahak13 Oct 9, 2022
66ec3a0
Add tests for legend with str args in scatter
chahak13 Oct 9, 2022
4896ec1
Add pan and zoom toolbar handling to 3D Axes (Replaces PR#22614) (#23…
scottshambaugh Oct 10, 2022
0427513
Merge branch 'matplotlib:main' into shuffleFix
tybeller Oct 10, 2022
a925f04
Don't update matplotlibrc at all if editable_mode
ianthomas23 Oct 10, 2022
acf5421
Fix some documentation typos
NRaudseps Oct 10, 2022
6c9c44d
Merge pull request #23907 from anntzer/ogwe
timhoffm Oct 11, 2022
0e97a90
Improved comments
ianthomas23 Oct 11, 2022
67ed913
Add QuadContourSet.remove.
anntzer Oct 11, 2022
a0b5de5
Merge pull request #24128 from oscargus/dateformatterlocatorremovals
QuLogic Oct 12, 2022
dad3ae3
Merge pull request #24138 from NRaudseps/nraudseps/fix_small_typos
QuLogic Oct 12, 2022
6cc7cda
Merge pull request #24143 from anntzer/cr
QuLogic Oct 12, 2022
07d955e
Replace ClabelText by set_transform_rotates_text.
anntzer Oct 11, 2022
28bd24b
Merge pull request #24140 from anntzer/strt
QuLogic Oct 12, 2022
7c6c9ab
Deprecate some label-related attributes on ContourLabeler.
anntzer Oct 11, 2022
94b993a
Add note about blitting and zorder in animations (#24137)
oscargus Oct 12, 2022
b90aba4
Merge pull request #24091 from oscargus/secondaryaxescleanup
QuLogic Oct 12, 2022
af39f1e
Merge pull request #24102 from ianthomas23/simple_pyproject
tacaswell Oct 12, 2022
7c5b99f
FIX: handle input to ax.bar that is all nan
tacaswell Oct 12, 2022
c4fb35e
Merge branch 'matplotlib:main' into shuffleFix
tybeller Oct 12, 2022
e096d5e
Update 24062-tb.rst
tybeller Oct 12, 2022
f0cd8de
Merge pull request #24149 from tacaswell/fix_all_nonfinite_bar
timhoffm Oct 13, 2022
4ac1351
Automatically update rebase label
oscargus Oct 13, 2022
d8a7253
Pin all Qt bindings for minimum version CI
QuLogic Oct 13, 2022
452fb13
windows doc build parity
story645 Oct 14, 2022
7a3ab30
Fix compatibility with PySide6 6.4.0
QuLogic Oct 14, 2022
cf0613b
Merge branch 'matplotlib:main' into shuffleFix
tybeller Oct 14, 2022
d2d0d11
removed random number generator from _tri.h
tybeller Oct 14, 2022
8dba908
Fix argument order in hist() docstring.
carschno Oct 14, 2022
1f9dc78
Merge pull request #24164 from carschno/fix_hist_docstring
story645 Oct 14, 2022
5ced6cf
FIX: turn off layout engine tightbbox
jklymak Oct 14, 2022
a06bae9
Update _tri.cpp
tybeller Oct 14, 2022
28d319a
added parent link for `FuncAnimation` and `ArtistAnimation`
kwsp Oct 14, 2022
0aa73a2
fixed trailing white spaces in docstring
kwsp Oct 14, 2022
aa2c51b
typo fixed in code snippet for undeclared variable
rifatrakib Oct 15, 2022
c744161
Merge pull request #24158 from QuLogic/fix-qt
QuLogic Oct 15, 2022
20e87d1
TST: convert nose-style tests
rcomer Oct 15, 2022
c0bdf59
Merge pull request #24171 from rifatrakib/patch-2
oscargus Oct 15, 2022
6397768
Merge pull request #24167 from jklymak/fix-turn-off-layout
oscargus Oct 15, 2022
a330efd
Merge pull request #24162 from story645/no-plot
oscargus Oct 15, 2022
493d608
Merge pull request #24144 from anntzer/ctrlps
oscargus Oct 15, 2022
adc305c
Expire cursor-related deprecations
oscargus Oct 8, 2022
f751fb0
Fix rubberband visibility for wx backend
oscargus Sep 22, 2022
d80342f
Don't simplify paths used for autoscaling
QuLogic Oct 15, 2022
1e278c7
Fix rubberband visibility for tk backend
oscargus Sep 22, 2022
0f9b73d
Improve bounds of wx rubberband
oscargus Oct 15, 2022
d4cf0f7
Fall back to Python-level Thread for GUI warning
QuLogic Oct 15, 2022
ea9d195
Merge pull request #24173 from rcomer/purge-nose-tests
timhoffm Oct 15, 2022
8be23b6
Merge pull request #24177 from QuLogic/small-autoscale
anntzer Oct 15, 2022
7f5b7e8
Refactor Renderer.get_text_width_height_descent
oscargus Oct 15, 2022
3b52d2b
Remove redundant method, fix signature and add doc-string to draw_tex
oscargus Oct 15, 2022
9bcdd60
Merge pull request #24178 from QuLogic/pypy-threads
oscargus Oct 15, 2022
07268f0
Fix evaluating colormaps on non-numpy arrays
timhoffm Sep 25, 2022
427ff32
Add test for set_aspect() parameter validation
timhoffm Oct 15, 2022
352bb1f
Generalize validation that pyplot commands are documented
timhoffm Sep 24, 2022
3354788
milestones test guidance
story645 Oct 13, 2022
f4f9528
Merge pull request #24000 from timhoffm/pyplot-test
timhoffm Oct 16, 2022
deb7b11
Merge pull request #24157 from story645/milestone-tests
timhoffm Oct 16, 2022
0fe7fa4
DOC: Fix toc structure in explain/interactive
timhoffm Oct 16, 2022
9a18bc0
DOC: fix markup
tacaswell Oct 16, 2022
7793b7f
BLD: be more cautious about checking editable mode
tacaswell Oct 16, 2022
d8c1cb0
Merge pull request #24190 from tacaswell/doc_fix_markup
story645 Oct 16, 2022
2b446af
Merge pull request #24191 from tacaswell/fix_noneditable_install
timhoffm Oct 16, 2022
7001f6b
DOC: Fix ReST formatting in coding_guide.rst
timhoffm Oct 16, 2022
a22a954
Merge pull request #24179 from oscargus/refactor_get_text_whd
timhoffm Oct 16, 2022
23730b4
Merge pull request #24187 from timhoffm/doc-interactive
timhoffm Oct 16, 2022
4f04c56
DOC: Lowercase some parameter names
timhoffm Sep 24, 2022
91dd808
DOC: Explain gridsize in hexbin()
timhoffm Oct 16, 2022
a5553e2
DOC: Improve plot_directive documentation
timhoffm Oct 16, 2022
b0db405
Property set and inherit backend_version.
anntzer Oct 17, 2022
8db31d2
Deprecate unused backend_ps.{PsBackendHelper,ps_backend_helper}.
anntzer Oct 17, 2022
8ecd60d
Add test and example for VBoxDivider
oscargus Sep 11, 2022
5dc7338
Add rcParams for 3D pane color
oscargus Sep 28, 2022
40cd821
Merge pull request #24193 from timhoffm/doc-hexbin-grid
oscargus Oct 17, 2022
f95cdd3
Merge pull request #24194 from timhoffm/doc-plot-directive
oscargus Oct 17, 2022
67e4ea1
Bump pypa/cibuildwheel from 2.10.2 to 2.11.1
dependabot[bot] Oct 17, 2022
b7db7c9
Merge pull request #24129 from oscargus/cursorremovals
QuLogic Oct 17, 2022
8207d6f
Merge pull request #24198 from anntzer/psbh
QuLogic Oct 17, 2022
bbde887
Merge pull request #24156 from oscargus/mergeconflicts
QuLogic Oct 18, 2022
24bcd30
Recommend multiple_yaxis_with_spines over parasite axes.
anntzer Oct 18, 2022
d0981ad
Deprecate backend_webagg.ServerThread.
anntzer Oct 18, 2022
c7503c8
Small cleanups to axislines docs.
anntzer Oct 18, 2022
80b15fb
Merge pull request #24202 from matplotlib/dependabot/github_actions/p…
oscargus Oct 18, 2022
b260408
Cleanup make_compound_path_from_poly doc, example.
anntzer Oct 18, 2022
cc75b9b
Merge pull request #24207 from anntzer/dpa
jklymak Oct 18, 2022
007c4c1
Merge pull request #24169 from kwsp/animation_doc
oscargus Oct 18, 2022
a39c9e6
Merge pull request #24208 from anntzer/st
timhoffm Oct 18, 2022
41162b3
Improve tests as suggested in PR
chahak13 Oct 18, 2022
fc91e61
Set figure options dynamically
chahak13 Oct 11, 2022
0f7b472
Reduce getattr calls and use axis_map dictionary
chahak13 Oct 12, 2022
7e5029e
Change variable names to match coding style
chahak13 Oct 12, 2022
a505dee
Add some changes for variable names
chahak13 Oct 13, 2022
6e21419
Save converter before any changes and reset
chahak13 Oct 14, 2022
c8bafcd
Merge pull request #24213 from anntzer/mcpfp
timhoffm Oct 18, 2022
36685eb
Merge pull request #24210 from anntzer/ald
timhoffm Oct 18, 2022
e0f0e0e
Fix the positioning of cursor in Textbox
Tortar Oct 1, 2022
0d6ee25
Add tests for ToolManager
oscargus Oct 15, 2022
5fd39c7
MNT: Update pre-commit hooks
matthewfeickert Oct 17, 2022
b33ed28
MNT: Rename 'nam' to 'name' for clarity
matthewfeickert Oct 17, 2022
b41e130
MNT: Update words in codespell-ignore-words file
matthewfeickert Oct 17, 2022
2770b45
Merge pull request #24184 from oscargus/testbackendmanager
QuLogic Oct 19, 2022
65c1b89
Merge pull request #23995 from timhoffm/doc-param-capitalization
oscargus Oct 19, 2022
b15c7e3
Deprecate BufferRegion.to_string{,_argb}.
anntzer Oct 19, 2022
0cad088
Simplify/add pyparsing error messages on mathtext/fontconfig errors.
anntzer Aug 19, 2022
a1269a9
Merge pull request #23683 from anntzer/pp
timhoffm Oct 19, 2022
14662e0
MNT: switch from ~ to not
tacaswell Oct 19, 2022
101cbaa
Merge pull request #24221 from anntzer/brts
oscargus Oct 19, 2022
9842f15
Update lib/matplotlib/tests/test_legend.py
chahak13 Oct 20, 2022
3a53ebf
Update lib/matplotlib/tests/test_legend.py
chahak13 Oct 20, 2022
9b0fd09
Move related unit and converter code together
chahak13 Oct 20, 2022
a94dc42
Correct get_text() call to get_color()
chahak13 Oct 20, 2022
aaa5129
Merge pull request #24196 from matthewfeickert/mnt/update-pre-commit-…
QuLogic Oct 20, 2022
a76ccca
Deprecate Julian date-related functions and constant
oscargus Oct 20, 2022
7985c21
DOC: Add 3D plots to plot_types gallery
j1642 Oct 6, 2022
53b65e4
Update lib/matplotlib/backends/qt_editor/figureoptions.py
chahak13 Oct 20, 2022
372a837
Update lib/matplotlib/backends/qt_editor/figureoptions.py
chahak13 Oct 20, 2022
3fc1080
Remove redundant `_update_axisinfo` call
chahak13 Oct 20, 2022
9e5436f
FIX: do not mutate dictionaries passed in by user
tacaswell Oct 20, 2022
407e8d8
Merge pull request #24224 from oscargus/juliandeprecation
tacaswell Oct 20, 2022
d6e2548
Merge pull request #24182 from oscargus/draw_tex
tacaswell Oct 20, 2022
000abdc
Merge pull request #24229 from tacaswell/fix_gridspec_input_mutation
anntzer Oct 20, 2022
84dec9c
Merge pull request #24122 from chahak13/scatterplot_legend
tacaswell Oct 20, 2022
e7f52ea
Merge pull request #24065 from Tortar/patch-2
tacaswell Oct 20, 2022
30fbb45
Merge pull request #24009 from timhoffm/fix-pytorch
tacaswell Oct 20, 2022
1ade85c
[DOC]: Add simple animation scatter plot to the example documentation…
kostyafarber Oct 20, 2022
d099170
Merge pull request #23985 from oscargus/rubberband
tacaswell Oct 20, 2022
e761485
Merge pull request #23931 from ZzN1NJ4/main
tacaswell Oct 20, 2022
990a1de
Merge pull request #23573 from anntzer/nosubplotbase
tacaswell Oct 20, 2022
2d18bba
Merge pull request #23607 from tacaswell/doc_apperance_is_api
tacaswell Oct 20, 2022
ad0a4c0
Merge pull request #23796 from gustavi/gustavi-patch-1
timhoffm Oct 21, 2022
5fe74c2
Merge pull request #24141 from chahak13/z_axis_3d_support
timhoffm Oct 21, 2022
a4e8a44
DOC: Mark SubplotBase removals in code style
QuLogic Oct 21, 2022
113fc77
Merge pull request #24197 from anntzer/bv
QuLogic Oct 21, 2022
231d1c8
Merge pull request #24236 from QuLogic/fix-doc
timhoffm Oct 21, 2022
56192f1
Update example and docstring to encourage the use of functools.partial
jeffreypaul15 Jun 3, 2021
e199c3b
Remove miscellaneous deprecations from 3.5
oscargus Oct 8, 2022
179f95e
Update docstring
oscargus Oct 21, 2022
df6f957
Improve mpl_toolkit documentation
oscargus Aug 1, 2022
acdc256
Deprecate unit_cube-related methods in Axes3D
oscargus Oct 21, 2022
a810948
Small animation docs/style fixes.
anntzer Oct 21, 2022
b4f1a4d
Merge pull request #24241 from anntzer/cft
timhoffm Oct 21, 2022
a2e0e83
Add information about environment variables in matplotlib.__doc__
oscargus Oct 21, 2022
e83dd4c
Improve documentation for ticker
oscargus Oct 21, 2022
7b08bee
Merge pull request #24242 from oscargus/environmentvariables
story645 Oct 21, 2022
e79e324
Clarify that z must be finite for tricountour(f)
oscargus Oct 21, 2022
3a5c6dc
Do not pass gridspec_kw to inner layouts in subplot_mosaic (#24189)
joshbarrass Oct 21, 2022
a400015
Update lib/matplotlib/ticker.py
oscargus Oct 21, 2022
cb0a6a0
Apply suggestions from code review
oscargus Oct 21, 2022
26949d5
Merge pull request #24243 from oscargus/tickerdocs
oscargus Oct 21, 2022
c450aa7
Merge pull request #23536 from oscargus/mpltoolkitdocs
QuLogic Oct 21, 2022
f6e7512
Merge pull request #24244 from oscargus/tridocs
QuLogic Oct 22, 2022
9b34b25
Fix key reporting in pick events
QuLogic Oct 22, 2022
c2c89cc
Expire deprecation of grid argument name
oscargus Oct 22, 2022
b298423
Merge pull request #24240 from oscargus/unitcubedeprecations
timhoffm Oct 22, 2022
534077d
Merge pull request #24250 from QuLogic/pick-event
timhoffm Oct 22, 2022
c216c09
Simplify and tighten parse_fontconfig_pattern.
anntzer Oct 19, 2022
3513a85
Update src/tri/_tri.h
oscargus Oct 23, 2022
f2e2f77
Merge pull request #24108 from j1642/add-3d-plots-to-gallery
story645 Oct 23, 2022
8454605
PR template: broke release info out into seperate section and tweaked…
story645 Oct 13, 2022
68c78c9
Merge pull request #14471 from tacaswell/fix_dont_close_on_noop_switch
anntzer Oct 23, 2022
7c3b627
add versioning directives, including empty + description
story645 Oct 13, 2022
6a5b7e5
TST: Increase fp tolerance on more tests for new NumPy
QuLogic Oct 25, 2022
e148998
Merge pull request #24253 from oscargus/bvisiblerenaming
QuLogic Oct 25, 2022
0c1f7e5
Restore (and warn on) seaborn styles in style.library
QuLogic Oct 25, 2022
96e69ed
Fix pie chart in demo_agg_filter.py (#24261)
leejjoon Oct 25, 2022
18fbf40
Expire deprecation for auto_add_to_figure=True
oscargus Oct 22, 2022
847e595
Move empty hexbin fix to make_norm_from_scale.
anntzer Oct 23, 2022
3811658
Merge pull request #24265 from QuLogic/seaborn-library
anntzer Oct 25, 2022
f69a7de
Merge pull request #24266 from QuLogic/np123
jklymak Oct 25, 2022
7f0c965
Merge pull request #24160 from story645/versioning-directives
timhoffm Oct 25, 2022
aefe56f
Merge pull request #24251 from oscargus/autoaddtofiguredeprecationexp…
QuLogic Oct 25, 2022
0c3ba6d
Merge pull request #24220 from anntzer/pfp
ksunden Oct 25, 2022
394748d
Merge pull request #24031 from oscargus/panecolorrcparams
ksunden Oct 25, 2022
cf8e04d
Make all matplotlib.tri submodules private
timhoffm Sep 26, 2022
25f77d7
Backward compatibility for the privatized matplotlib.tri modules
timhoffm Sep 28, 2022
bb9ded8
Merge pull request #24013 from timhoffm/privatize-tri
QuLogic Oct 26, 2022
42fdbea
Merge pull request #24161 from story645/versioning-directives-policy
QuLogic Oct 26, 2022
8c68325
Use oldest-supported-numpy for build
QuLogic Oct 26, 2022
f15aeee
Updated Angles on Bracket arrow styles example to make angles clear #…
jacoverster Oct 26, 2022
d97cc32
Fix partial example
oscargus Oct 22, 2022
5c58816
Merge pull request #24278 from QuLogic/oldest-numpy
tacaswell Oct 26, 2022
3256bc4
Remove comment about cmap from voxels docstring
ksunden Oct 27, 2022
6ed3ab1
Merge pull request #24284 from ksunden/voxels_docstring
tacaswell Oct 27, 2022
5950bad
nb/webagg: Move mouse events to outer canvas div
QuLogic Oct 27, 2022
3e6344c
Switching to a simpler group by logic
Abhijnan-Bajpai Oct 28, 2022
22bad5f
Fixed formatting according to flake8
Abhijnan-Bajpai Oct 28, 2022
6ec4aae
Fixing a stream append
Abhijnan-Bajpai Oct 28, 2022
a37cdc5
Rely on builtin round() instead of manual rounding.
anntzer Oct 28, 2022
022d51b
Removing redundant xs_names
Abhijnan-Bajpai Oct 28, 2022
1bb5816
Merge pull request #24062 from tybeller/shuffleFix
tacaswell Oct 28, 2022
d85e980
Merge pull request #24291 from anntzer/round
timhoffm Oct 28, 2022
4b26ab6
Cleanup Barbs._find_tails.
anntzer Oct 28, 2022
575421d
Cleanup image_zcoord example.
anntzer Oct 28, 2022
45a56d0
Run test if fontconfig is present
xerus Oct 28, 2022
ee6fc0f
Merge pull request #24287 from Abhijnan-Bajpai/main
tacaswell Oct 28, 2022
3263cfc
Merge pull request #23865 from oscargus/dividertest
story645 Oct 28, 2022
77f3e1f
Merge pull request #24294 from xerus/failing_font_test
timhoffm Oct 28, 2022
9b4985e
Merge pull request #24289 from anntzer/iz
timhoffm Oct 28, 2022
ad3787c
List all the places to update when adding a dependency.
anntzer Oct 28, 2022
25d30c2
Merge pull request #24298 from anntzer/ir
story645 Oct 28, 2022
54360f3
Merge pull request #24290 from anntzer/bft
QuLogic Oct 29, 2022
751e13d
Remove redundant int after round
oscargus Oct 29, 2022
627ae26
Simplify generate_fontconfig_pattern.
anntzer Oct 29, 2022
c8b9eb4
Merge pull request #24302 from oscargus/intround
timhoffm Oct 29, 2022
1d457c0
Unify logic of ConnectionStyle._Base.{_clip,_shrink}.
anntzer Oct 29, 2022
1068a6f
Remove unnecessary np.{,as}array / astype calls.
anntzer Oct 28, 2022
3886ea9
Remove unnecessary/replaceable explicit str calls.
anntzer Oct 29, 2022
c8d1656
Merge pull request #24295 from anntzer/ua
timhoffm Oct 29, 2022
001ece8
closes #24296
story645 Oct 30, 2022
84c6ad4
Merge pull request #24306 from anntzer/unstr
oscargus Oct 30, 2022
705d250
Merge pull request #24125 from oscargus/misc35removals
timhoffm Oct 30, 2022
8112d55
updated interval cause 10 is too fast
story645 Oct 30, 2022
d784332
added offset section, restructured annotations tutorial, reworked
story645 Sep 25, 2022
799f735
Merge pull request #23606 from story645/annotation-tutorial
timhoffm Oct 30, 2022
d1bc341
Fix mathtext rendering and sizing of vertical bar
oscargus Oct 21, 2022
6f63847
Bump pypa/cibuildwheel from 2.11.1 to 2.11.2
dependabot[bot] Oct 31, 2022
0d89d3d
Bump mamba-org/provision-with-micromamba from 13 to 14
dependabot[bot] Oct 31, 2022
ea98aec
Merge pull request #24239 from oscargus/mathtextbar
anntzer Oct 31, 2022
16c67c8
Small cleanups to QuiverKey.
anntzer May 24, 2022
0d9b761
GOV: change security reporting to use tidelift
tacaswell Oct 31, 2022
ccb51e0
DOC: add warning note to imsave
tacaswell Oct 31, 2022
54d751b
Merge pull request #24320 from tacaswell/doc_imsave_warning
anntzer Oct 31, 2022
6634d2a
Merge pull request #24259 from anntzer/he
QuLogic Oct 31, 2022
638483f
Merge pull request #24095 from QuLogic/resize-webkit
ksunden Oct 31, 2022
a231b7b
Merge pull request #24319 from matplotlib/dependabot/github_actions/m…
ksunden Oct 31, 2022
4ed1c7c
Merge pull request #24318 from matplotlib/dependabot/github_actions/p…
ksunden Nov 1, 2022
13438f8
Fix some minor docstring typos
QuLogic Oct 26, 2022
e71827a
Merge pull request #23119 from anntzer/qk
QuLogic Nov 1, 2022
268c24d
Merge pull request #24310 from story645/animate-decay
QuLogic Nov 1, 2022
79a5abb
Merge pull request #24303 from anntzer/gfp
oscargus Nov 1, 2022
f2b5486
Merge pull request #24305 from anntzer/cscs
oscargus Nov 1, 2022
14c50c8
Merge pull request #24282 from QuLogic/docstring-typos
timhoffm Nov 1, 2022
781af6b
Merge pull request #24322 from tacaswell/gov_security
tacaswell Nov 1, 2022
d9d75f2
Refactor shading
oscargus Sep 16, 2022
78eb52d
Fix missing word in ImageMagickWriter docstring.
anntzer Nov 1, 2022
8937d7b
Merge pull request #24335 from anntzer/at
story645 Nov 1, 2022
185a421
Merge pull request #24238 from oscargus/mpl-20326
ksunden Nov 1, 2022
de8739f
Merge pull request #23914 from oscargus/shaderefactor
timhoffm Nov 1, 2022
5c6805a
added random into get_cmap, allowing random cmap option
Nov 1, 2022
1c8a915
added 'random' into get_cmap, allowing random cmap option
Nov 1, 2022
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
  •  
  •  
  •  
22 changes: 21 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,14 +141,32 @@ commands:
[ "$CIRCLE_PR_NUMBER" = "" ]; then
export RELEASE_TAG='-t release'
fi
make html O="-T $RELEASE_TAG -j4"
make html O="-T $RELEASE_TAG -j4 -w /tmp/sphinxerrorswarnings.log"
rm -r build/html/_sources
working_directory: doc
- save_cache:
key: sphinx-env-v1-{{ .BuildNum }}-{{ .Environment.CIRCLE_JOB }}
paths:
- doc/build/doctrees

doc-show-errors-warnings:
steps:
- run:
name: Extract possible build errors and warnings
command: |
(grep "WARNING\|ERROR" /tmp/sphinxerrorswarnings.log ||
echo "No errors or warnings")

doc-show-deprecations:
steps:
- run:
name: Extract possible deprecation warnings in examples and tutorials
command: |
(grep DeprecationWarning -r -l doc/build/html/gallery ||
echo "No deprecation warnings in gallery")
(grep DeprecationWarning -r -l doc/build/html/tutorials ||
echo "No deprecation warnings in tutorials")

doc-bundle:
steps:
- run:
Expand Down Expand Up @@ -186,6 +204,8 @@ jobs:
- doc-deps-install

- doc-build
- doc-show-errors-warnings
- doc-show-deprecations

- doc-bundle

Expand Down
3 changes: 2 additions & 1 deletion .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ per-file-ignores =
lib/matplotlib/pyplot.py: F401, F811
lib/matplotlib/tests/test_mathtext.py: E501
lib/matplotlib/transforms.py: E201, E202, E203
lib/matplotlib/tri/triinterpolate.py: E201, E221
lib/matplotlib/tri/_triinterpolate.py: E201, E221
lib/mpl_toolkits/axes_grid1/axes_size.py: E272
lib/mpl_toolkits/axisartist/__init__.py: F401
lib/mpl_toolkits/axisartist/angle_helper.py: E221
Expand Down Expand Up @@ -113,3 +113,4 @@ per-file-ignores =
examples/user_interfaces/pylab_with_gtk4_sgskip.py: E402
examples/user_interfaces/toolmanager_sgskip.py: E402
examples/userdemo/pgf_preamble_sgskip.py: E402
force-check = True
11 changes: 7 additions & 4 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,13 @@
- [ ] Is [Flake 8](https://flake8.pycqa.org/en/latest/) compliant (install `flake8-docstrings` and run `flake8 --docstring-convention=all`).

**Documentation**
- [ ] New features are documented, with examples if plot related.
- [ ] New features have an entry in `doc/users/next_whats_new/` (follow instructions in README.rst there).
- [ ] API changes documented in `doc/api/next_api_changes/` (follow instructions in README.rst there).
- [ ] Documentation is sphinx and numpydoc compliant (the docs should [build](https://matplotlib.org/devel/documenting_mpl.html#building-the-docs) without error).
- [ ] New plotting related features are documented with examples.

**Release Notes**
- [ ] New features are marked with a `.. versionadded::` directive in the docstring and documented in `doc/users/next_whats_new/`
- [ ] API changes are marked with a `.. versionchanged::` directive in the docstring and documented in `doc/api/next_api_changes/`
- [ ] Release notes conform with instructions in `next_whats_new/README.rst` or `next_api_changes/README.rst`

<!--
Thank you so much for your PR! To help us review your contribution, please
Expand All @@ -22,7 +25,7 @@ consider the following points:
- Help with git and github is available at
https://matplotlib.org/devel/gitwash/development_workflow.html.

- Do not create the PR out of main, but out of a separate branch.
- Create a separate branch for your changes and open the PR from this branch. Please avoid working on `main`.

- The PR title should summarize the changes, for example "Raise ValueError on
non-numeric input to set_xlim". Avoid non-descriptive titles such as
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/cibuildsdist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,9 @@ jobs:

- name: Check version number is not 0
run: python ./ci/check_version_number.py

- name: Install twine
run: pip install twine

- name: Check README rendering for PyPI
run: twine check dist/*
10 changes: 5 additions & 5 deletions .github/workflows/cibuildwheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
fetch-depth: 0

- name: Build wheels for CPython 3.11
uses: pypa/cibuildwheel@v2.9.0
uses: pypa/cibuildwheel@v2.11.2
env:
CIBW_BUILD: "cp311-*"
CIBW_SKIP: "*-musllinux*"
Expand All @@ -66,7 +66,7 @@ jobs:
CIBW_ARCHS: ${{ matrix.cibw_archs }}

- name: Build wheels for CPython 3.10
uses: pypa/cibuildwheel@v2.9.0
uses: pypa/cibuildwheel@v2.11.2
env:
CIBW_BUILD: "cp310-*"
CIBW_SKIP: "*-musllinux*"
Expand All @@ -79,7 +79,7 @@ jobs:
CIBW_ARCHS: ${{ matrix.cibw_archs }}

- name: Build wheels for CPython 3.9
uses: pypa/cibuildwheel@v2.9.0
uses: pypa/cibuildwheel@v2.11.2
env:
CIBW_BUILD: "cp39-*"
CIBW_SKIP: "*-musllinux*"
Expand All @@ -92,7 +92,7 @@ jobs:
CIBW_ARCHS: ${{ matrix.cibw_archs }}

- name: Build wheels for CPython 3.8
uses: pypa/cibuildwheel@v2.9.0
uses: pypa/cibuildwheel@v2.11.2
env:
CIBW_BUILD: "cp38-*"
CIBW_SKIP: "*-musllinux*"
Expand All @@ -105,7 +105,7 @@ jobs:
CIBW_ARCHS: ${{ matrix.cibw_archs }}

- name: Build wheels for PyPy
uses: pypa/cibuildwheel@v2.9.0
uses: pypa/cibuildwheel@v2.11.2
env:
CIBW_BUILD: "pp38-* pp39-*"
CIBW_SKIP: "*-musllinux*"
Expand Down
19 changes: 19 additions & 0 deletions .github/workflows/conflictcheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: "Maintenance"
on:
# So that PRs touching the same files as the push are updated
push:
# So that the `dirtyLabel` is removed if conflicts are resolve
# We recommend `pull_request_target` so that github secrets are available.
# In `pull_request` we wouldn't be able to change labels of fork PRs
pull_request_target:
types: [synchronize]

jobs:
main:
runs-on: ubuntu-latest
steps:
- name: Check if PRs have merge conflicts
uses: eps1lon/actions-label-merge-conflict@releases/2.x
with:
dirtyLabel: "status: needs rebase"
repoToken: "${{ secrets.GITHUB_TOKEN }}"
2 changes: 1 addition & 1 deletion .github/workflows/nightlies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:

# N.B. anaconda-client is only maintained on the main channel
- name: Install anaconda-client
uses: mamba-org/provision-with-micromamba@v12
uses: mamba-org/provision-with-micromamba@v14
with:
environment-file: false
environment-name: nightlies
Expand Down
25 changes: 16 additions & 9 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ jobs:
python-version: 3.8
extra-requirements: '-c requirements/testing/minver.txt'
pyqt5-ver: '==5.11.2 sip==5.0.0' # oldest versions with a Py3.8 wheel.
pyqt6-ver: '==6.1.0 PyQt6-Qt6==6.1.0'
pyside2-ver: '==5.14.0' # oldest version with working Py3.8 wheel.
pyside6-ver: '==6.0.0'
delete-font-cache: true
- os: ubuntu-20.04
python-version: 3.8
Expand Down Expand Up @@ -146,10 +149,10 @@ jobs:
~/.cache/matplotlib
!~/.cache/matplotlib/tex.cache
!~/.cache/matplotlib/test_cache
key: 1-${{ runner.os }}-py${{ matrix.python-version }}-mpl-${{ github.ref }}-${{ github.sha }}
key: 2-${{ runner.os }}-py${{ matrix.python-version }}-mpl-${{ github.ref }}-${{ github.sha }}
restore-keys: |
1-${{ runner.os }}-py${{ matrix.python-version }}-mpl-${{ github.ref }}-
1-${{ runner.os }}-py${{ matrix.python-version }}-mpl-
2-${{ runner.os }}-py${{ matrix.python-version }}-mpl-${{ github.ref }}-
2-${{ runner.os }}-py${{ matrix.python-version }}-mpl-

- name: Install Python dependencies
run: |
Expand Down Expand Up @@ -189,17 +192,17 @@ jobs:
echo 'PyQt5 is available' ||
echo 'PyQt5 is not available'
if [[ "${{ runner.os }}" != 'macOS' ]]; then
python -mpip install --upgrade pyside2 &&
python -mpip install --upgrade pyside2${{ matrix.pyside2-ver }} &&
python -c 'import PySide2.QtCore' &&
echo 'PySide2 is available' ||
echo 'PySide2 is not available'
fi
if [[ "${{ matrix.os }}" = ubuntu-20.04 ]]; then
python -mpip install --upgrade pyqt6 &&
python -mpip install --upgrade pyqt6${{ matrix.pyqt6-ver }} &&
python -c 'import PyQt6.QtCore' &&
echo 'PyQt6 is available' ||
echo 'PyQt6 is not available'
python -mpip install --upgrade pyside6 &&
python -mpip install --upgrade pyside6${{ matrix.pyside6-ver }} &&
python -c 'import PySide6.QtCore' &&
echo 'PySide6 is available' ||
echo 'PySide6 is not available'
Expand Down Expand Up @@ -240,9 +243,13 @@ jobs:

cat mplsetup.cfg

# All dependencies must have been pre-installed, so that the minver
# constraints are held.
python -m pip install --no-deps -ve .
if [[ "${{ matrix.name-suffix }}" == '(Minimum Versions)' ]]; then
# Minimum versions run does not use build isolation so that it
# builds against the pre-installed minver dependencies.
python -m pip install --no-deps --no-build-isolation -ve .
else
python -m pip install --no-deps -ve .
fi

if [[ "${{ runner.os }}" != 'macOS' ]]; then
unset CPPFLAGS
Expand Down
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ repos:
- id: trailing-whitespace
exclude_types: [svg]
- repo: https://github.com/pycqa/flake8
rev: 4.0.1
rev: 5.0.4
hooks:
- id: flake8
additional_dependencies: [pydocstyle>5.1.0, flake8-docstrings>1.4.0]
additional_dependencies: [pydocstyle>5.1.0, flake8-docstrings>1.4.0, flake8-force]
args: ["--docstring-convention=all"]
- repo: https://github.com/codespell-project/codespell
rev: v2.1.0
rev: v2.2.2
hooks:
- id: codespell
files: ^.*\.(py|c|cpp|h|m|md|rst|yml)$
Expand Down
89 changes: 89 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
[![PyPi](https://badge.fury.io/py/matplotlib.svg)](https://badge.fury.io/py/matplotlib)
[![Downloads](https://pepy.tech/badge/matplotlib/month)](https://pepy.tech/project/matplotlib)
[![NUMFocus](https://img.shields.io/badge/powered%20by-NumFOCUS-orange.svg?style=flat&colorA=E1523D&colorB=007D8A)](https://numfocus.org)

[![DiscourseBadge](https://img.shields.io/badge/help_forum-discourse-blue.svg)](https://discourse.matplotlib.org)
[![Gitter](https://badges.gitter.im/matplotlib/matplotlib.svg)](https://gitter.im/matplotlib/matplotlib)
[![GitHubIssues](https://img.shields.io/badge/issue_tracking-github-blue.svg)](https://github.com/matplotlib/matplotlib/issues)
[![GitTutorial](https://img.shields.io/badge/PR-Welcome-%23FF8300.svg?)](https://git-scm.com/book/en/v2/GitHub-Contributing-to-a-Project)

[![GitHubActions](https://github.com/matplotlib/matplotlib/workflows/Tests/badge.svg)](https://github.com/matplotlib/matplotlib/actions?query=workflow%3ATests)
[![AzurePipelines](https://dev.azure.com/matplotlib/matplotlib/_apis/build/status/matplotlib.matplotlib?branchName=main)](https://dev.azure.com/matplotlib/matplotlib/_build/latest?definitionId=1&branchName=main)
[![AppVeyor](https://ci.appveyor.com/api/projects/status/github/matplotlib/matplotlib?branch=main&svg=true)](https://ci.appveyor.com/project/matplotlib/matplotlib)
[![Codecov](https://codecov.io/github/matplotlib/matplotlib/badge.svg?branch=main&service=github)](https://codecov.io/github/matplotlib/matplotlib?branch=main)
[![LGTM](https://img.shields.io/lgtm/grade/python/github/matplotlib/matplotlib.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/matplotlib/matplotlib)

![image](https://matplotlib.org/_static/logo2.svg)

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, Python/IPython shells, web application servers,
and various graphical user interface toolkits.

## Install

See the [install
documentation](https://matplotlib.org/stable/users/installing/index.html),
which is generated from `/doc/users/installing/index.rst`

## 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)!

## Contact

[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]>

[Gitter](https://gitter.im/matplotlib/matplotlib) is for coordinating
development and asking questions directly related to contributing to
matplotlib.

## 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/stable/users/project/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.

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).
Loading