Skip to content

Commit 7867ce8

Browse files
committed
Merge branch 'master' into qt_figureoptions_axis_limits_conversion
2 parents 84c36d1 + d56e1b4 commit 7867ce8

File tree

742 files changed

+22610
-20567
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

742 files changed

+22610
-20567
lines changed

.appveyor.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,10 @@ install:
6262
- conda install -c conda-forge pywin32
6363
- echo %PYTHON_VERSION% %TARGET_ARCH%
6464
# Install dependencies from PyPI.
65-
- python -mpip install --upgrade -r requirements/testing/all.txt %EXTRAREQS% %PINNEDVERS%
65+
- python -m pip install --upgrade -r requirements/testing/all.txt %EXTRAREQS% %PINNEDVERS%
6666
# Install optional dependencies from PyPI.
6767
# Sphinx is needed to run sphinxext tests
68-
- python -mpip install --upgrade sphinx
68+
- python -m pip install --upgrade sphinx
6969
# Show the installed packages + versions
7070
- conda list
7171

.circleci/config.yml

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@ commands:
5454
- run:
5555
name: Upgrade pip, setuptools, wheel
5656
command: |
57-
python -mpip install --upgrade --user pip
58-
python -mpip install --upgrade --user wheel
59-
python -mpip install --upgrade --user setuptools
57+
python -m pip install --upgrade --user pip
58+
python -m pip install --upgrade --user wheel
59+
python -m pip install --upgrade --user setuptools
6060
6161
deps-install:
6262
parameters:
@@ -67,14 +67,15 @@ commands:
6767
- run:
6868
name: Install Python dependencies
6969
command: |
70-
python -mpip install --user numpy<< parameters.numpy_version >> codecov coverage
71-
python -mpip install --user -r requirements/doc/doc-requirements.txt
70+
python -m pip install --user \
71+
numpy<< parameters.numpy_version >> codecov coverage \
72+
-r requirements/doc/doc-requirements.txt
7273
7374
mpl-install:
7475
steps:
7576
- run:
7677
name: Install Matplotlib
77-
command: python -mpip install --user -ve .
78+
command: python -m pip install --user -ve .
7879

7980
doc-build:
8081
steps:
@@ -137,6 +138,8 @@ jobs:
137138

138139
- store_artifacts:
139140
path: doc/build/html
141+
- store_test_results:
142+
path: doc/build/test-results
140143

141144
docs-python38-min:
142145
docker:
@@ -149,7 +152,7 @@ jobs:
149152
- pip-install
150153

151154
- deps-install:
152-
numpy_version: "==1.16.0"
155+
numpy_version: "==1.17.3"
153156
- mpl-install
154157

155158
- doc-build
@@ -158,6 +161,8 @@ jobs:
158161

159162
- store_artifacts:
160163
path: doc/build/html
164+
- store_test_results:
165+
path: doc/build/test-results
161166

162167
docs-python38:
163168
docker:
@@ -178,10 +183,12 @@ jobs:
178183

179184
- store_artifacts:
180185
path: doc/build/html
186+
- store_test_results:
187+
path: doc/build/test-results
181188

182189
- add_ssh_keys:
183190
fingerprints:
184-
- "78:13:59:08:61:a9:e5:09:af:df:3a:d8:89:c2:84:c0"
191+
- "6b:83:76:a5:7d:bd:ce:19:a4:e3:81:e0:80:16:a4:fe"
185192
- deploy:
186193
name: "Deploy new docs"
187194
command: ./.circleci/deploy-docs.sh

.flake8

Lines changed: 5 additions & 167 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ exclude =
3535
doc/gallery
3636
doc/tutorials
3737
# External files.
38-
versioneer.py
3938
tools/gh_api.py
4039
tools/github_stats.py
4140
.tox
@@ -46,8 +45,6 @@ per-file-ignores =
4645
setupext.py: E501
4746
tests.py: F401
4847

49-
tools/subset.py: E221, E251, E261, E302, E501
50-
5148
lib/matplotlib/__init__.py: F401
5249
lib/matplotlib/_api/__init__.py: F401
5350
lib/matplotlib/_cm.py: E202, E203, E302
@@ -61,7 +58,7 @@ per-file-ignores =
6158
lib/matplotlib/backends/qt_editor/formlayout.py: F401, F403
6259
lib/matplotlib/cbook/__init__.py: F401
6360
lib/matplotlib/cbook/deprecation.py: F401
64-
lib/matplotlib/font_manager.py: E221, E251, E501
61+
lib/matplotlib/font_manager.py: E501
6562
lib/matplotlib/image.py: F401, F403
6663
lib/matplotlib/lines.py: F401
6764
lib/matplotlib/mathtext.py: E221, E251
@@ -113,179 +110,20 @@ per-file-ignores =
113110
tutorials/toolkits/axisartist.py: E501
114111

115112
examples/animation/frame_grabbing_sgskip.py: E402
116-
examples/axes_grid1/inset_locator_demo.py: E402
117-
examples/axes_grid1/scatter_hist_locatable_axes.py: E402
118-
examples/axisartist/demo_curvelinear_grid.py: E402
119-
examples/color/color_by_yvalue.py: E402
120-
examples/color/color_cycle_default.py: E402
121-
examples/color/color_cycler.py: E402
122-
examples/color/color_demo.py: E402
123-
examples/color/colorbar_basics.py: E402
124-
examples/color/colormap_reference.py: E402
125-
examples/color/custom_cmap.py: E402
126-
examples/color/named_colors.py: E402
127-
examples/images_contours_and_fields/affine_image.py: E402
128-
examples/images_contours_and_fields/barb_demo.py: E402
129-
examples/images_contours_and_fields/barcode_demo.py: E402
130-
examples/images_contours_and_fields/contour_corner_mask.py: E402
131-
examples/images_contours_and_fields/contour_demo.py: E402
132-
examples/images_contours_and_fields/contour_image.py: E402
133-
examples/images_contours_and_fields/contourf_demo.py: E402
134-
examples/images_contours_and_fields/contourf_hatching.py: E402
135-
examples/images_contours_and_fields/contourf_log.py: E402
136-
examples/images_contours_and_fields/demo_bboximage.py: E402
137-
examples/images_contours_and_fields/image_antialiasing.py: E402
138-
examples/images_contours_and_fields/image_clip_path.py: E402
139-
examples/images_contours_and_fields/image_demo.py: E402
140-
examples/images_contours_and_fields/image_masked.py: E402
141-
examples/images_contours_and_fields/image_transparency_blend.py: E402
142-
examples/images_contours_and_fields/image_zcoord.py: E402
143-
examples/images_contours_and_fields/interpolation_methods.py: E402
144-
examples/images_contours_and_fields/irregulardatagrid.py: E402
145-
examples/images_contours_and_fields/layer_images.py: E402
146-
examples/images_contours_and_fields/matshow.py: E402
147-
examples/images_contours_and_fields/multi_image.py: E402
148-
examples/images_contours_and_fields/pcolor_demo.py: E402
149-
examples/images_contours_and_fields/plot_streamplot.py: E402
150-
examples/images_contours_and_fields/quadmesh_demo.py: E402
151-
examples/images_contours_and_fields/quiver_demo.py: E402
152-
examples/images_contours_and_fields/quiver_simple_demo.py: E402
153-
examples/images_contours_and_fields/shading_example.py: E402
154-
examples/images_contours_and_fields/specgram_demo.py: E402
155-
examples/images_contours_and_fields/spy_demos.py: E402
156-
examples/images_contours_and_fields/tricontour_demo.py: E201, E402
157-
examples/images_contours_and_fields/tricontour_smooth_delaunay.py: E402
158-
examples/images_contours_and_fields/tricontour_smooth_user.py: E402
159-
examples/images_contours_and_fields/trigradient_demo.py: E402
160-
examples/images_contours_and_fields/triinterp_demo.py: E402
161-
examples/images_contours_and_fields/tripcolor_demo.py: E201, E402
162-
examples/images_contours_and_fields/triplot_demo.py: E201, E402
163-
examples/images_contours_and_fields/watermark_image.py: E402
164-
examples/lines_bars_and_markers/curve_error_band.py: E402
165-
examples/lines_bars_and_markers/errorbar_limits_simple.py: E402
166-
examples/lines_bars_and_markers/fill.py: E402
167-
examples/lines_bars_and_markers/fill_between_demo.py: E402
168-
examples/lines_bars_and_markers/filled_step.py: E402
169-
examples/lines_bars_and_markers/stairs_demo.py: E402
170-
examples/lines_bars_and_markers/horizontal_barchart_distribution.py: E402
171-
examples/lines_bars_and_markers/joinstyle.py: E402
172-
examples/lines_bars_and_markers/scatter_hist.py: E402
173-
examples/lines_bars_and_markers/scatter_piecharts.py: E402
174-
examples/lines_bars_and_markers/scatter_with_legend.py: E402
175-
examples/lines_bars_and_markers/span_regions.py: E402
176-
examples/lines_bars_and_markers/stem_plot.py: E402
177-
examples/lines_bars_and_markers/step_demo.py: E402
178-
examples/lines_bars_and_markers/timeline.py: E402
179-
examples/lines_bars_and_markers/xcorr_acorr_demo.py: E402
180-
examples/misc/agg_buffer.py: E402
181-
examples/misc/histogram_path.py: E402
113+
examples/images_contours_and_fields/tricontour_demo.py: E201
114+
examples/images_contours_and_fields/tripcolor_demo.py: E201
115+
examples/images_contours_and_fields/triplot_demo.py: E201
182116
examples/misc/print_stdout_sgskip.py: E402
183-
examples/misc/rasterization_demo.py: E402
184-
examples/misc/svg_filter_line.py: E402
185-
examples/misc/svg_filter_pie.py: E402
186117
examples/misc/table_demo.py: E201
187-
examples/mplot3d/surface3d.py: E402
188-
examples/pie_and_polar_charts/bar_of_pie.py: E402
189-
examples/pie_and_polar_charts/nested_pie.py: E402
190-
examples/pie_and_polar_charts/pie_and_donut_labels.py: E402
191-
examples/pie_and_polar_charts/pie_demo2.py: E402
192-
examples/pie_and_polar_charts/pie_features.py: E402
193-
examples/pie_and_polar_charts/polar_bar.py: E402
194-
examples/pie_and_polar_charts/polar_demo.py: E402
195-
examples/pie_and_polar_charts/polar_legend.py: E402
196-
examples/pie_and_polar_charts/polar_scatter.py: E402
197-
examples/pyplots/align_ylabels.py: E402
198-
examples/pyplots/annotate_transform.py: E251, E402
199-
examples/pyplots/annotation_basic.py: E402
200-
examples/pyplots/annotation_polar.py: E402
201-
examples/pyplots/auto_subplots_adjust.py: E302, E402
202-
examples/pyplots/axline.py: E402
203-
examples/pyplots/boxplot_demo_pyplot.py: E402
204-
examples/pyplots/dollar_ticks.py: E402
205-
examples/pyplots/fig_axes_customize_simple.py: E402
206-
examples/pyplots/fig_axes_labels_simple.py: E402
207-
examples/pyplots/fig_x.py: E402
208-
examples/pyplots/pyplot_formatstr.py: E402
209-
examples/pyplots/pyplot_mathtext.py: E402
210-
examples/pyplots/pyplot_scales.py: E402
211-
examples/pyplots/pyplot_simple.py: E402
212-
examples/pyplots/pyplot_text.py: E402
213-
examples/pyplots/pyplot_three.py: E402
214-
examples/pyplots/pyplot_two_subplots.py: E402
215-
examples/pyplots/text_commands.py: E402
216-
examples/pyplots/text_layout.py: E402
217-
examples/pyplots/whats_new_1_subplot3d.py: E402
218-
examples/pyplots/whats_new_98_4_fill_between.py: E402
219-
examples/pyplots/whats_new_98_4_legend.py: E402
220-
examples/pyplots/whats_new_99_axes_grid.py: E402
221-
examples/pyplots/whats_new_99_mplot3d.py: E402
222-
examples/pyplots/whats_new_99_spines.py: E402
223-
examples/scales/power_norm.py: E402
224-
examples/scales/scales.py: E402
225-
examples/shapes_and_collections/artist_reference.py: E402
226-
examples/shapes_and_collections/collections.py: E402
227-
examples/shapes_and_collections/compound_path.py: E402
228-
examples/shapes_and_collections/dolphin.py: E402
229-
examples/shapes_and_collections/donut.py: E402
230-
examples/shapes_and_collections/ellipse_collection.py: E402
231-
examples/shapes_and_collections/ellipse_demo.py: E402
232-
examples/shapes_and_collections/fancybox_demo.py: E402
233-
examples/shapes_and_collections/hatch_demo.py: E402
234-
examples/shapes_and_collections/hatch_style_reference.py: E402
235-
examples/shapes_and_collections/line_collection.py: E402
236-
examples/shapes_and_collections/marker_path.py: E402
237-
examples/shapes_and_collections/patch_collection.py: E402
238-
examples/shapes_and_collections/path_patch.py: E402
239-
examples/shapes_and_collections/quad_bezier.py: E402
240-
examples/shapes_and_collections/scatter.py: E402
241-
examples/showcase/anatomy.py: E402
242-
examples/showcase/bachelors_degrees_by_gender.py: E402
243-
examples/showcase/firefox.py: E501
244-
examples/specialty_plots/anscombe.py: E402
245-
examples/specialty_plots/radar_chart.py: E402
246-
examples/specialty_plots/sankey_basics.py: E402
247-
examples/specialty_plots/sankey_links.py: E402
248-
examples/specialty_plots/sankey_rankine.py: E402
249-
examples/specialty_plots/skewt.py: E402
250118
examples/style_sheets/bmh.py: E501
251-
examples/style_sheets/ggplot.py: E501
252119
examples/style_sheets/plot_solarizedlight2.py: E501
253-
examples/subplots_axes_and_figures/axes_margins.py: E402
254-
examples/subplots_axes_and_figures/axes_zoom_effect.py: E402
255-
examples/subplots_axes_and_figures/custom_figure_class.py: E402
256120
examples/subplots_axes_and_figures/demo_constrained_layout.py: E402
257-
examples/subplots_axes_and_figures/demo_tight_layout.py: E402
258-
examples/subplots_axes_and_figures/figure_size_units.py: E402
259-
examples/subplots_axes_and_figures/secondary_axis.py: E402
260-
examples/subplots_axes_and_figures/two_scales.py: E402
261-
examples/subplots_axes_and_figures/zoom_inset_axes.py: E402
262-
examples/text_labels_and_annotations/date_index_formatter.py: E402
263-
examples/text_labels_and_annotations/demo_text_rotation_mode.py: E402
264121
examples/text_labels_and_annotations/custom_legends.py: E402
265-
examples/text_labels_and_annotations/fancyarrow_demo.py: E402
266-
examples/text_labels_and_annotations/font_family_rc_sgskip.py: E402
267-
examples/text_labels_and_annotations/font_file.py: E402
268-
examples/text_labels_and_annotations/legend.py: E402
269-
examples/text_labels_and_annotations/line_with_text.py: E402
270-
examples/text_labels_and_annotations/mathtext_asarray.py: E402
271-
examples/text_labels_and_annotations/tex_demo.py: E402
272-
examples/text_labels_and_annotations/watermark_text.py: E402
273-
examples/ticks_and_spines/custom_ticker1.py: E402
274122
examples/ticks_and_spines/date_concise_formatter.py: E402
275-
examples/ticks_and_spines/major_minor_demo.py: E402
276-
examples/ticks_and_spines/tick-formatters.py: E402
277-
examples/ticks_and_spines/tick_labels_from_values.py: E402
278-
examples/user_interfaces/canvasagg.py: E402
279123
examples/user_interfaces/embedding_in_gtk3_panzoom_sgskip.py: E402
280124
examples/user_interfaces/embedding_in_gtk3_sgskip.py: E402
281-
examples/user_interfaces/embedding_in_qt_sgskip.py: E402
282125
examples/user_interfaces/gtk_spreadsheet_sgskip.py: E402
283-
examples/user_interfaces/mathtext_wx_sgskip.py: E402
284126
examples/user_interfaces/mpl_with_glade3_sgskip.py: E402
285-
examples/user_interfaces/pylab_with_gtk_sgskip.py: E302, E402
127+
examples/user_interfaces/pylab_with_gtk_sgskip.py: E402
286128
examples/user_interfaces/toolmanager_sgskip.py: E402
287-
examples/userdemo/connectionstyle_demo.py: E402
288-
examples/userdemo/custom_boxstyle01.py: E402
289129
examples/userdemo/pgf_preamble_sgskip.py: E402
290-
examples/widgets/*.py: E402
291-
examples/statistics/*.py: E402

.git_archival.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ref-names: $Format:%D$

.gitattributes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
*.ppm binary
33
*.svg binary
44
*.svg linguist-language=true
5-
lib/matplotlib/_version.py export-subst
5+
.git_archival.txt export-subst

.github/ISSUE_TEMPLATE/documentation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,5 @@ If you have an idea to improve the documentation please suggest it here
3131
**Matplotlib version**
3232
<!--Please specify the version of matplotlib and the version of the documentation that you are using:-->
3333
* Operating system:
34-
* Matplotlib version: (`import matplotlib; print(matplotlib.__version__)`)
35-
* Matplotlib documentation version: (is listed under the logo)
34+
* Matplotlib version (`import matplotlib; print(matplotlib.__version__)`):
35+
* Matplotlib documentation version (is listed under the logo):

.github/workflows/cibuildwheel.yml

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ jobs:
1313
name: Build wheels on ${{ matrix.os }}
1414
runs-on: ${{ matrix.os }}
1515
env:
16-
min-numpy-version: "1.16.0"
17-
min-numpy-hash: "04/b6/d7faa70a3e3eac39f943cc6a6a64ce378259677de516bd899dd9eb8f9b32"
16+
min-numpy-version: "1.17.3"
17+
min-numpy-hash: "b6/d6/be8f975f5322336f62371c9abeb936d592c98c047ad63035f1b38ae08efe"
1818
strategy:
1919
matrix:
2020
os: [ubuntu-18.04, windows-latest, macos-latest]
@@ -57,7 +57,7 @@ jobs:
5757
cd numpy-${{ env.min-numpy-version }}
5858
python -m cibuildwheel --output-dir ../numpy-aarch64-cache
5959
env:
60-
CIBW_BUILD: "cp36-* cp37-* cp38-*"
60+
CIBW_BUILD: "cp37-* cp38-*"
6161
CIBW_ARCHS: aarch64
6262

6363
- name: Copy setup.cfg to configure wheel
@@ -86,20 +86,6 @@ jobs:
8686
MPL_DISABLE_FH4: "yes"
8787
CIBW_ARCHS: ${{ matrix.cibw_archs }}
8888

89-
- name: Build wheels for CPython 3.6
90-
run: |
91-
python -m cibuildwheel --output-dir dist
92-
env:
93-
CIBW_BUILD: "cp36-*"
94-
CIBW_MANYLINUX_X86_64_IMAGE: manylinux1
95-
CIBW_MANYLINUX_I686_IMAGE: manylinux1
96-
CIBW_BEFORE_BUILD: pip install certifi; pip install --find-links=numpy-aarch64-cache/ numpy==${{ env.min-numpy-version }}
97-
MPL_DISABLE_FH4: "yes"
98-
CIBW_ARCHS: ${{ matrix.cibw_archs }}
99-
if: >
100-
startsWith(github.ref, 'refs/heads/v3.3') ||
101-
startsWith(github.ref, 'refs/tags/v3.3')
102-
10389
- name: Build wheels for PyPy
10490
run: |
10591
python -m cibuildwheel --output-dir dist

.github/workflows/circleci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ jobs:
99
with:
1010
repo-token: ${{ secrets.GITHUB_TOKEN }}
1111
artifact-path: 0/doc/build/html/index.html
12-
circleci-jobs: docs-python36,docs-python37,docs-python38
12+
circleci-jobs: docs-python37,docs-python38,docs-python38-min

0 commit comments

Comments
 (0)