hc99 commited on
Commit
caf9538
·
verified ·
1 Parent(s): 98c2465

Add files using upload-large-folder tool

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. testbed/matplotlib__matplotlib/doc/Makefile +48 -0
  2. testbed/matplotlib__matplotlib/doc/README.txt +43 -0
  3. testbed/matplotlib__matplotlib/doc/api/_api_api.rst +13 -0
  4. testbed/matplotlib__matplotlib/doc/api/backend_agg_api.rst +8 -0
  5. testbed/matplotlib__matplotlib/doc/api/backend_bases_api.rst +8 -0
  6. testbed/matplotlib__matplotlib/doc/api/backend_cairo_api.rst +8 -0
  7. testbed/matplotlib__matplotlib/doc/api/backend_pdf_api.rst +8 -0
  8. testbed/matplotlib__matplotlib/doc/api/backend_pgf_api.rst +8 -0
  9. testbed/matplotlib__matplotlib/doc/api/backend_ps_api.rst +8 -0
  10. testbed/matplotlib__matplotlib/doc/api/backend_svg_api.rst +8 -0
  11. testbed/matplotlib__matplotlib/doc/api/backend_template_api.rst +8 -0
  12. testbed/matplotlib__matplotlib/doc/api/category_api.rst +8 -0
  13. testbed/matplotlib__matplotlib/doc/api/cbook_api.rst +8 -0
  14. testbed/matplotlib__matplotlib/doc/api/colorbar_api.rst +8 -0
  15. testbed/matplotlib__matplotlib/doc/api/container_api.rst +8 -0
  16. testbed/matplotlib__matplotlib/doc/api/contour_api.rst +8 -0
  17. testbed/matplotlib__matplotlib/doc/api/dviread.rst +9 -0
  18. testbed/matplotlib__matplotlib/doc/api/ft2font.rst +8 -0
  19. testbed/matplotlib__matplotlib/doc/api/hatch_api.rst +8 -0
  20. testbed/matplotlib__matplotlib/doc/api/image_api.rst +8 -0
  21. testbed/matplotlib__matplotlib/doc/api/layout_engine_api.rst +9 -0
  22. testbed/matplotlib__matplotlib/doc/api/legend_api.rst +8 -0
  23. testbed/matplotlib__matplotlib/doc/api/legend_handler_api.rst +7 -0
  24. testbed/matplotlib__matplotlib/doc/api/markers_api.rst +18 -0
  25. testbed/matplotlib__matplotlib/doc/api/mlab_api.rst +8 -0
  26. testbed/matplotlib__matplotlib/doc/api/next_api_changes/README.rst +32 -0
  27. testbed/matplotlib__matplotlib/doc/api/next_api_changes/behavior/25192-DS.rst +4 -0
  28. testbed/matplotlib__matplotlib/doc/api/next_api_changes/behavior/25247-AL.rst +20 -0
  29. testbed/matplotlib__matplotlib/doc/api/next_api_changes/behavior/25456-AL.rst +10 -0
  30. testbed/matplotlib__matplotlib/doc/api/next_api_changes/behavior/25775-HZ.rst +29 -0
  31. testbed/matplotlib__matplotlib/doc/api/next_api_changes/behavior/26479-ES.rst +6 -0
  32. testbed/matplotlib__matplotlib/doc/api/next_api_changes/deprecations/00001-ABC.rst +7 -0
  33. testbed/matplotlib__matplotlib/doc/api/next_api_changes/deprecations/23200-OG.rst +6 -0
  34. testbed/matplotlib__matplotlib/doc/api/next_api_changes/deprecations/24312-AL.rst +9 -0
  35. testbed/matplotlib__matplotlib/doc/api/next_api_changes/deprecations/24913-AL.rst +3 -0
  36. testbed/matplotlib__matplotlib/doc/api/next_api_changes/deprecations/24985-OG.rst +17 -0
  37. testbed/matplotlib__matplotlib/doc/api/next_api_changes/deprecations/24990-OG.rst +5 -0
  38. testbed/matplotlib__matplotlib/doc/api/next_api_changes/deprecations/25027-GL.rst +12 -0
  39. testbed/matplotlib__matplotlib/doc/api/next_api_changes/deprecations/25101-AL.rst +3 -0
  40. testbed/matplotlib__matplotlib/doc/api/next_api_changes/deprecations/25138-AL.rst +6 -0
  41. testbed/matplotlib__matplotlib/doc/api/next_api_changes/deprecations/25247-AL.rst +9 -0
  42. testbed/matplotlib__matplotlib/doc/api/next_api_changes/deprecations/25282-AL.rst +3 -0
  43. testbed/matplotlib__matplotlib/doc/api/next_api_changes/deprecations/25352-GL.rst +4 -0
  44. testbed/matplotlib__matplotlib/doc/api/next_api_changes/deprecations/25427-AL.rst +4 -0
  45. testbed/matplotlib__matplotlib/doc/api/next_api_changes/deprecations/25469-AL.rst +5 -0
  46. testbed/matplotlib__matplotlib/doc/api/next_api_changes/deprecations/25484-AL.rst +4 -0
  47. testbed/matplotlib__matplotlib/doc/api/next_api_changes/deprecations/25557-AL.rst +3 -0
  48. testbed/matplotlib__matplotlib/doc/api/next_api_changes/deprecations/25559-AL.rst +5 -0
  49. testbed/matplotlib__matplotlib/doc/api/next_api_changes/deprecations/25584-KS.rst +5 -0
  50. testbed/matplotlib__matplotlib/doc/api/next_api_changes/deprecations/25588-KS.rst +19 -0
testbed/matplotlib__matplotlib/doc/Makefile ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Minimal makefile for Sphinx documentation
2
+ #
3
+
4
+ # You can set these variables from the command line.
5
+ SPHINXOPTS = -W --keep-going
6
+ SPHINXBUILD = python -msphinx
7
+ SPHINXPROJ = matplotlib
8
+ SOURCEDIR = .
9
+ BUILDDIR = build
10
+
11
+ # Put it first so that "make" without argument is like "make help".
12
+ help:
13
+ @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
14
+
15
+ .PHONY: help Makefile
16
+
17
+ # workaround because sphinx does not completely clean up (#11139)
18
+ clean:
19
+ @$(SPHINXBUILD) -M clean "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
20
+ rm -rf "$(SOURCEDIR)/build"
21
+ rm -rf "$(SOURCEDIR)/api/_as_gen"
22
+ rm -rf "$(SOURCEDIR)/gallery"
23
+ rm -rf "$(SOURCEDIR)/plot_types"
24
+ rm -rf "$(SOURCEDIR)/tutorials"
25
+ rm -rf "$(SOURCEDIR)/users/explain"
26
+ rm -rf "$(SOURCEDIR)/savefig"
27
+ rm -rf "$(SOURCEDIR)/sphinxext/__pycache__"
28
+ rm -f $(SOURCEDIR)/_static/constrained_layout*.png
29
+
30
+ show:
31
+ @python -c "import webbrowser; webbrowser.open_new_tab('file://$(shell pwd)/build/html/index.html')"
32
+
33
+ html-noplot:
34
+ $(SPHINXBUILD) -D plot_gallery=0 -b html $(SOURCEDIR) $(BUILDDIR)/html $(SPHINXOPTS) $(O)
35
+ @echo
36
+ @echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
37
+
38
+ # This will skip the subdirectories listed in .mpl_skip_subdirs.yaml If
39
+ # this file does not exist, one will be created for you. This option useful
40
+ # to quickly build parts of the docs, but the resulting build will not
41
+ # have all the crosslinks etc.
42
+ html-skip-subdirs:
43
+ $(SPHINXBUILD) -D skip_sub_dirs=1 -b html $(SOURCEDIR) $(BUILDDIR)/html $(SPHINXOPTS) $(O)
44
+
45
+ # Catch-all target: route all unknown targets to Sphinx using the new
46
+ # "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
47
+ %: Makefile
48
+ @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
testbed/matplotlib__matplotlib/doc/README.txt ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Matplotlib documentation
2
+ ========================
3
+
4
+ Building the documentation
5
+ --------------------------
6
+
7
+ See :file:`doc/devel/documenting_mpl.rst` for instructions to build the docs.
8
+
9
+ Organization
10
+ ------------
11
+
12
+ This is the top level build directory for the Matplotlib
13
+ documentation. All of the documentation is written using sphinx, a
14
+ python documentation system built on top of ReST. This directory contains
15
+
16
+ * users - the user documentation, e.g., installation, plotting tutorials,
17
+ configuration tips, faq, explanations, etc.
18
+
19
+ * devel - documentation for Matplotlib developers
20
+
21
+ * api - placeholders to automatically generate the api documentation
22
+
23
+ * tutorials, plot_types, and gallery - automatically
24
+ generated by sphinx-gallery from ``../tutorials``, ``../plot_types``, and
25
+ ``../examples`` respectively (these are only present if docs have been
26
+ built locally).
27
+
28
+ * thirdpartypackages - redirect to <https://matplotlib.org/mpl-third-party/>
29
+
30
+ * mpl_toolkits - documentation of individual toolkits that ship with
31
+ Matplotlib
32
+
33
+ * index.rst - the top level include document for Matplotlib docs
34
+
35
+ * conf.py - the sphinx configuration
36
+
37
+ * Makefile and make.bat - entry points for building the docs
38
+
39
+ * _static - used by the sphinx build system
40
+
41
+ * _templates - used by the sphinx build system
42
+
43
+ * sphinxext - Sphinx extensions for the Matplotlib docs
testbed/matplotlib__matplotlib/doc/api/_api_api.rst ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *******************
2
+ ``matplotlib._api``
3
+ *******************
4
+
5
+ .. automodule:: matplotlib._api
6
+ :members:
7
+ :undoc-members:
8
+ :show-inheritance:
9
+
10
+ .. automodule:: matplotlib._api.deprecation
11
+ :members:
12
+ :undoc-members:
13
+ :show-inheritance:
testbed/matplotlib__matplotlib/doc/api/backend_agg_api.rst ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ ***********************************
2
+ ``matplotlib.backends.backend_agg``
3
+ ***********************************
4
+
5
+ .. automodule:: matplotlib.backends.backend_agg
6
+ :members:
7
+ :undoc-members:
8
+ :show-inheritance:
testbed/matplotlib__matplotlib/doc/api/backend_bases_api.rst ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ ****************************
2
+ ``matplotlib.backend_bases``
3
+ ****************************
4
+
5
+ .. automodule:: matplotlib.backend_bases
6
+ :members:
7
+ :undoc-members:
8
+ :show-inheritance:
testbed/matplotlib__matplotlib/doc/api/backend_cairo_api.rst ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ *************************************
2
+ ``matplotlib.backends.backend_cairo``
3
+ *************************************
4
+
5
+ .. automodule:: matplotlib.backends.backend_cairo
6
+ :members:
7
+ :undoc-members:
8
+ :show-inheritance:
testbed/matplotlib__matplotlib/doc/api/backend_pdf_api.rst ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ ***********************************
2
+ ``matplotlib.backends.backend_pdf``
3
+ ***********************************
4
+
5
+ .. automodule:: matplotlib.backends.backend_pdf
6
+ :members:
7
+ :undoc-members:
8
+ :show-inheritance:
testbed/matplotlib__matplotlib/doc/api/backend_pgf_api.rst ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ ***********************************
2
+ ``matplotlib.backends.backend_pgf``
3
+ ***********************************
4
+
5
+ .. automodule:: matplotlib.backends.backend_pgf
6
+ :members:
7
+ :undoc-members:
8
+ :show-inheritance:
testbed/matplotlib__matplotlib/doc/api/backend_ps_api.rst ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ **********************************
2
+ ``matplotlib.backends.backend_ps``
3
+ **********************************
4
+
5
+ .. automodule:: matplotlib.backends.backend_ps
6
+ :members:
7
+ :undoc-members:
8
+ :show-inheritance:
testbed/matplotlib__matplotlib/doc/api/backend_svg_api.rst ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ ***********************************
2
+ ``matplotlib.backends.backend_svg``
3
+ ***********************************
4
+
5
+ .. automodule:: matplotlib.backends.backend_svg
6
+ :members:
7
+ :undoc-members:
8
+ :show-inheritance:
testbed/matplotlib__matplotlib/doc/api/backend_template_api.rst ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ ****************************************
2
+ ``matplotlib.backends.backend_template``
3
+ ****************************************
4
+
5
+ .. automodule:: matplotlib.backends.backend_template
6
+ :members:
7
+ :undoc-members:
8
+ :show-inheritance:
testbed/matplotlib__matplotlib/doc/api/category_api.rst ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ ***********************
2
+ ``matplotlib.category``
3
+ ***********************
4
+
5
+ .. automodule:: matplotlib.category
6
+ :members:
7
+ :undoc-members:
8
+ :show-inheritance:
testbed/matplotlib__matplotlib/doc/api/cbook_api.rst ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ ********************
2
+ ``matplotlib.cbook``
3
+ ********************
4
+
5
+ .. automodule:: matplotlib.cbook
6
+ :members:
7
+ :undoc-members:
8
+ :show-inheritance:
testbed/matplotlib__matplotlib/doc/api/colorbar_api.rst ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ ***********************
2
+ ``matplotlib.colorbar``
3
+ ***********************
4
+
5
+ .. automodule:: matplotlib.colorbar
6
+ :members:
7
+ :undoc-members:
8
+ :show-inheritance:
testbed/matplotlib__matplotlib/doc/api/container_api.rst ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ ************************
2
+ ``matplotlib.container``
3
+ ************************
4
+
5
+ .. automodule:: matplotlib.container
6
+ :members:
7
+ :undoc-members:
8
+ :show-inheritance:
testbed/matplotlib__matplotlib/doc/api/contour_api.rst ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ **********************
2
+ ``matplotlib.contour``
3
+ **********************
4
+
5
+ .. automodule:: matplotlib.contour
6
+ :members:
7
+ :undoc-members:
8
+ :show-inheritance:
testbed/matplotlib__matplotlib/doc/api/dviread.rst ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ **********************
2
+ ``matplotlib.dviread``
3
+ **********************
4
+
5
+ .. automodule:: matplotlib.dviread
6
+ :members:
7
+ :undoc-members:
8
+ :exclude-members: Page, Text, Box
9
+ :show-inheritance:
testbed/matplotlib__matplotlib/doc/api/ft2font.rst ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ **********************
2
+ ``matplotlib.ft2font``
3
+ **********************
4
+
5
+ .. automodule:: matplotlib.ft2font
6
+ :members:
7
+ :undoc-members:
8
+ :show-inheritance:
testbed/matplotlib__matplotlib/doc/api/hatch_api.rst ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ ********************
2
+ ``matplotlib.hatch``
3
+ ********************
4
+
5
+ .. automodule:: matplotlib.hatch
6
+ :members:
7
+ :undoc-members:
8
+ :show-inheritance:
testbed/matplotlib__matplotlib/doc/api/image_api.rst ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ ********************
2
+ ``matplotlib.image``
3
+ ********************
4
+
5
+ .. automodule:: matplotlib.image
6
+ :members:
7
+ :undoc-members:
8
+ :show-inheritance:
testbed/matplotlib__matplotlib/doc/api/layout_engine_api.rst ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ ****************************
2
+ ``matplotlib.layout_engine``
3
+ ****************************
4
+
5
+ .. currentmodule:: matplotlib.layout_engine
6
+
7
+ .. automodule:: matplotlib.layout_engine
8
+ :members:
9
+ :inherited-members:
testbed/matplotlib__matplotlib/doc/api/legend_api.rst ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ *********************
2
+ ``matplotlib.legend``
3
+ *********************
4
+
5
+ .. automodule:: matplotlib.legend
6
+ :members:
7
+ :undoc-members:
8
+ :show-inheritance:
testbed/matplotlib__matplotlib/doc/api/legend_handler_api.rst ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ *****************************
2
+ ``matplotlib.legend_handler``
3
+ *****************************
4
+
5
+ .. automodule:: matplotlib.legend_handler
6
+ :members:
7
+ :undoc-members:
testbed/matplotlib__matplotlib/doc/api/markers_api.rst ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ **********************
2
+ ``matplotlib.markers``
3
+ **********************
4
+
5
+ .. currentmodule:: matplotlib.markers
6
+
7
+ .. automodule:: matplotlib.markers
8
+ :no-members:
9
+ :no-inherited-members:
10
+
11
+ Classes
12
+ -------
13
+
14
+ .. autosummary::
15
+ :toctree: _as_gen/
16
+ :template: autosummary.rst
17
+
18
+ MarkerStyle
testbed/matplotlib__matplotlib/doc/api/mlab_api.rst ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ *******************
2
+ ``matplotlib.mlab``
3
+ *******************
4
+
5
+ .. automodule:: matplotlib.mlab
6
+ :members:
7
+ :undoc-members:
8
+ :show-inheritance:
testbed/matplotlib__matplotlib/doc/api/next_api_changes/README.rst ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ :orphan:
2
+
3
+ Adding API change notes
4
+ =======================
5
+
6
+ API change notes for future releases are collected in
7
+ :file:`next_api_changes`. They are divided into four subdirectories:
8
+
9
+ - **Deprecations**: Announcements of future changes. Typically, these will
10
+ raise a deprecation warning and users of this API should change their code
11
+ to stay compatible with future releases of Matplotlib. If possible, state
12
+ what should be used instead.
13
+ - **Removals**: Parts of the API that got removed. If possible, state what
14
+ should be used instead.
15
+ - **Behaviour changes**: API that stays valid but will yield a different
16
+ result.
17
+ - **Development changes**: Changes to the build process, dependencies, etc.
18
+
19
+ Please place new entries in these directories with a new file named
20
+ ``99999-ABC.rst``, where ``99999`` would be the PR number, and ``ABC`` the
21
+ author's initials. Typically, each change will get its own file, but you may
22
+ also amend existing files when suitable. The overall goal is a comprehensible
23
+ documentation of the changes.
24
+
25
+ Please avoid using references in section titles, as it causes links to be
26
+ confusing in the table of contents. Instead, ensure that a reference is
27
+ included in the descriptive text. A typical entry could look like this::
28
+
29
+ Locators
30
+ ~~~~~~~~
31
+ The unused `Locator.autoscale()` method is deprecated (pass the axis
32
+ limits to `Locator.view_limits()` instead).
testbed/matplotlib__matplotlib/doc/api/next_api_changes/behavior/25192-DS.rst ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ ``canvas`` argument now required for ``FigureFrameWx``
2
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3
+ ``FigureFrameWx`` now requires a keyword-only ``canvas`` argument
4
+ when it is constructed.
testbed/matplotlib__matplotlib/doc/api/next_api_changes/behavior/25247-AL.rst ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ``ContourSet`` is now a single Collection
2
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3
+
4
+ Prior to this release, `.ContourSet` (the object returned by `~.Axes.contour`)
5
+ was a custom object holding multiple `.Collection`\s (and not an `.Artist`)
6
+ -- one collection per level, each connected component of that level's contour
7
+ being an entry in the corresponding collection.
8
+
9
+ `.ContourSet` is now instead a plain `.Collection` (and thus an `.Artist`).
10
+ The collection contains a single path per contour level; this path may be
11
+ non-continuous in case there are multiple connected components.
12
+
13
+ Setting properties on the ContourSet can now usually be done using standard
14
+ collection setters (``cset.set_linewidth(3)`` to use the same linewidth
15
+ everywhere or ``cset.set_linewidth([1, 2, 3, ...])`` to set different
16
+ linewidths on each level) instead of having to go through the individual
17
+ sub-components (``cset.collections[0].set_linewidth(...)``). Note that
18
+ during the transition period, it remains possible to access the (deprecated)
19
+ ``.collections`` attribute; this causes the ContourSet to modify itself to use
20
+ the old-style multi-Collection representation.
testbed/matplotlib__matplotlib/doc/api/next_api_changes/behavior/25456-AL.rst ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ Changes of API after deprecation
2
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3
+
4
+ - `.dviread.find_tex_file` now raises `FileNotFoundError` when the requested filename is
5
+ not found.
6
+ - `.Figure.colorbar` now raises if *cax* is not given and it is unable to determine from
7
+ which Axes to steal space, i.e. if *ax* is also not given and *mappable* has not been
8
+ added to an Axes.
9
+ - `.pyplot.subplot` and `.pyplot.subplot2grid` no longer auto-remove preexisting
10
+ overlapping Axes; explicitly call ``Axes.remove`` as needed.
testbed/matplotlib__matplotlib/doc/api/next_api_changes/behavior/25775-HZ.rst ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Default antialiasing behavior changes for ``Text`` and ``Annotation``
2
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3
+
4
+ ``matplotlib.pyplot.annotate()`` and ``matplotlib.pyplot.text()`` now support parameter *antialiased* when initializing.
5
+ Examples:
6
+
7
+ .. code-block::
8
+
9
+ mpl.text.Text(.5, .5, "foo\nbar", antialiased=True)
10
+ plt.text(0.5, 0.5, '6 inches x 2 inches', antialiased=True)
11
+ ax.annotate('local max', xy=(2, 1), xytext=(3, 1.5), antialiased=False)
12
+
13
+ See "What's New" for more details on usage.
14
+
15
+ With this new feature, you may want to make sure that you are creating and saving/showing the figure under the same context::
16
+
17
+ # previously this was a no-op, now it is what works
18
+ with rccontext(text.antialiased=False):
19
+ fig, ax = plt.subplots()
20
+ ax.annotate('local max', xy=(2, 1), xytext=(3, 1.5))
21
+ fig.savefig('/tmp/test.png')
22
+
23
+ # previously this had an effect, now this is a no-op
24
+ fig, ax = plt.subplots()
25
+ ax.annotate('local max', xy=(2, 1), xytext=(3, 1.5))
26
+ with rccontext(text.antialiased=False):
27
+ fig.savefig('/tmp/test.png')
28
+
29
+ Also note that antialiasing for tick labels will be set with :rc:`text.antialiased` when they are created (usually when a ``Figure`` is created) - This means antialiasing for them can no longer be changed by modifying :rc:`text.antialiased`.
testbed/matplotlib__matplotlib/doc/api/next_api_changes/behavior/26479-ES.rst ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ PostScript paper type adds option to use figure size
2
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3
+
4
+ The :rc:`ps.papertype` rcParam can now be set to ``'figure'``, which will use
5
+ a paper size that corresponds exactly with the size of the figure that is being
6
+ saved.
testbed/matplotlib__matplotlib/doc/api/next_api_changes/deprecations/00001-ABC.rst ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ Template for deprecations
2
+ ~~~~~~~~~~~~~~~~~~~~~~~~~
3
+
4
+ Add description here...
5
+
6
+ Please rename file with PR number and your initials i.e. "99999-ABC.rst"
7
+ and ``git add`` the new file.
testbed/matplotlib__matplotlib/doc/api/next_api_changes/deprecations/23200-OG.rst ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ Calling ``paths.get_path_collection_extents`` with empty *offsets*
2
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3
+
4
+ Calling `~.get_path_collection_extents` with an empty *offsets* parameter
5
+ has an ambiguous interpretation and is therefore deprecated. When the
6
+ deprecation period expires, this will produce an error.
testbed/matplotlib__matplotlib/doc/api/next_api_changes/deprecations/24312-AL.rst ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ ``axes_grid1.axes_divider`` API changes
2
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3
+
4
+ The ``AxesLocator`` class is deprecated. The ``new_locator`` method of divider
5
+ instances now instead returns an opaque callable (which can still be passed to
6
+ ``ax.set_axes_locator``).
7
+
8
+ ``Divider.locate`` is deprecated; use ``Divider.new_locator(...)(ax, renderer)``
9
+ instead.
testbed/matplotlib__matplotlib/doc/api/next_api_changes/deprecations/24913-AL.rst ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ ``bbox.anchored()`` with no explicit container
2
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3
+ Not passing a *container* argument to `.BboxBase.anchored` is now deprecated.
testbed/matplotlib__matplotlib/doc/api/next_api_changes/deprecations/24985-OG.rst ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Functions in ``mpl_toolkits.mplot3d.proj3d``
2
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3
+
4
+ The function ``transform`` is just an alias for ``proj_transform``,
5
+ use the latter instead.
6
+
7
+ The following functions are either unused (so no longer required in Matplotlib)
8
+ or considered private. If you rely on them, please make a copy of the code,
9
+ including all functions that starts with a ``_`` (considered private).
10
+
11
+ * ``ortho_transformation``
12
+ * ``persp_transformation``
13
+ * ``proj_points``
14
+ * ``proj_trans_points``
15
+ * ``rot_x``
16
+ * ``rotation_about_vector``
17
+ * ``view_transformation``
testbed/matplotlib__matplotlib/doc/api/next_api_changes/deprecations/24990-OG.rst ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ Arguments other than ``renderer`` to ``get_tightbbox``
2
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3
+
4
+ ... are keyword-only arguments. This is for consistency and that
5
+ different classes have different additional arguments.
testbed/matplotlib__matplotlib/doc/api/next_api_changes/deprecations/25027-GL.rst ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ The object returned by ``pcolor()`` has changed to a ``PolyQuadMesh`` class
2
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3
+
4
+ The old object was a `.PolyCollection` with flattened vertices and array data.
5
+ The new `.PolyQuadMesh` class subclasses `.PolyCollection`, but adds in better
6
+ 2D coordinate and array handling in alignment with `.QuadMesh`. Previously, if
7
+ a masked array was input, the list of polygons within the collection would shrink
8
+ to the size of valid polygons and users were required to keep track of which
9
+ polygons were drawn and call ``set_array()`` with the smaller "compressed" array size.
10
+ Passing the "compressed" and flattened array values is now deprecated and the
11
+ full 2D array of values (including the mask) should be passed
12
+ to `.PolyQuadMesh.set_array`.
testbed/matplotlib__matplotlib/doc/api/next_api_changes/deprecations/25101-AL.rst ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ ``LocationEvent.lastevent``
2
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
3
+ ... is deprecated with no replacement.
testbed/matplotlib__matplotlib/doc/api/next_api_changes/deprecations/25138-AL.rst ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ ``allsegs``, ``allkinds``, ``tcolors`` and ``tlinewidths`` attributes of `.ContourSet`
2
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3
+ These attributes are deprecated; if required, directly retrieve the vertices
4
+ and codes of the Path objects from ``ContourSet.get_paths()`` and the colors
5
+ and the linewidths via ``ContourSet.get_facecolor()``, ``ContourSet.get_edgecolor()``
6
+ and ``ContourSet.get_linewidths()``.
testbed/matplotlib__matplotlib/doc/api/next_api_changes/deprecations/25247-AL.rst ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ ``ContourSet.collections``
2
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~
3
+ ... is deprecated. `.ContourSet` is now implemented as a single `.Collection` of paths,
4
+ each path corresponding to a contour level, possibly including multiple unconnected
5
+ components.
6
+
7
+ During the deprecation period, accessing ``ContourSet.collections`` will revert the
8
+ current ContourSet instance to the old object layout, with a separate `.PathCollection`
9
+ per contour level.
testbed/matplotlib__matplotlib/doc/api/next_api_changes/deprecations/25282-AL.rst ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ ``INVALID_NON_AFFINE``, ``INVALID_AFFINE``, ``INVALID`` attributes of ``TransformNode``
2
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3
+ These attributes are deprecated.
testbed/matplotlib__matplotlib/doc/api/next_api_changes/deprecations/25352-GL.rst ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ ``Grouper.clean()``
2
+ ~~~~~~~~~~~~~~~~~~~
3
+
4
+ with no replacement. The Grouper class now cleans itself up automatically.
testbed/matplotlib__matplotlib/doc/api/next_api_changes/deprecations/25427-AL.rst ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ ``GridHelperCurveLinear.get_data_boundary``
2
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3
+ ... is deprecated. Use ``grid_finder.extreme_finder(*[None] * 5)`` to get the
4
+ extremes of the grid.
testbed/matplotlib__matplotlib/doc/api/next_api_changes/deprecations/25469-AL.rst ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ *np_load* parameter of ``cbook.get_sample_data``
2
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3
+ This parameter is deprecated; `.get_sample_data` now auto-loads numpy arrays.
4
+ Use ``get_sample_data(..., asfileobj=False)`` instead to get the filename of
5
+ the data file, which can then be passed to `open`, if desired.
testbed/matplotlib__matplotlib/doc/api/next_api_changes/deprecations/25484-AL.rst ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ ``RendererAgg.tostring_rgb`` and ``FigureCanvasAgg.tostring_rgb``
2
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3
+ ... are deprecated with no direct replacement. Consider using ``buffer_rgba``
4
+ instead, which should cover most use cases.
testbed/matplotlib__matplotlib/doc/api/next_api_changes/deprecations/25557-AL.rst ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ The parameter of ``Annotation.contains`` and ``Legend.contains`` is renamed to *mouseevent*
2
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3
+ ... consistently with `.Artist.contains`.
testbed/matplotlib__matplotlib/doc/api/next_api_changes/deprecations/25559-AL.rst ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ Accessing ``event.guiEvent`` after event handlers return
2
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3
+ ... is deprecated: for some GUI toolkits, it is unsafe to do so. In the
4
+ future, ``event.guiEvent`` will be set to None once the event handlers return;
5
+ you may separately stash the object at your own risk.
testbed/matplotlib__matplotlib/doc/api/next_api_changes/deprecations/25584-KS.rst ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ Widgets
2
+ ~~~~~~~
3
+
4
+ The *visible* attribute getter of Selector widgets has been deprecated;
5
+ use ``get_visible``
testbed/matplotlib__matplotlib/doc/api/next_api_changes/deprecations/25588-KS.rst ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Method parameters renamed to match base classes
2
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3
+
4
+ The only parameter of ``transform_affine`` and ``transform_non_affine`` in ``Transform`` subclasses is renamed
5
+ to *values*.
6
+
7
+ The *points* parameter of ``transforms.IdentityTransform.transform`` is renamed to *values*.
8
+
9
+ The *trans* parameter of ``table.Cell.set_transform`` is renamed to *t* consistently with
10
+ `.Artist.set_transform`.
11
+
12
+ The *clippath* parameters of ``axis.Axis.set_clip_path`` and ``axis.Tick.set_clip_path`` are
13
+ renamed to *path* consistently with `.Artist.set_clip_path`.
14
+
15
+ The *s* parameter of ``images.NonUniformImage.set_filternorm`` is renamed to *filternorm*
16
+ consistently with ```_ImageBase.set_filternorm``.
17
+
18
+ The *s* parameter of ``images.NonUniformImage.set_filterrad`` is renamed to *filterrad*
19
+ consistently with ```_ImageBase.set_filterrad``.