Skip to content

Commit bfd0afe

Browse files
Merge branch 'main' into aspect_equal_3d
2 parents 0bb940e + 12d3c8e commit bfd0afe

File tree

80 files changed

+1478
-869
lines changed

Some content is hidden

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

80 files changed

+1478
-869
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,9 @@ body:
1515
id: reproduction
1616
attributes:
1717
label: Code for reproduction
18-
description: If possible, please provide a minimum self-contained example.
19-
placeholder: Paste your code here
18+
description: |
19+
If possible, please provide a minimum self-contained example.
20+
placeholder: Paste your code here. This field is automatically formatted as Python code.
2021
render: python
2122
validations:
2223
required: true

.github/workflows/cibuildwheel.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
fetch-depth: 0
5454

5555
- name: Build wheels for CPython 3.10
56-
uses: pypa/cibuildwheel@v2.8.0
56+
uses: pypa/cibuildwheel@v2.8.1
5757
env:
5858
CIBW_BUILD: "cp310-*"
5959
CIBW_SKIP: "*-musllinux*"
@@ -66,7 +66,7 @@ jobs:
6666
CIBW_ARCHS: ${{ matrix.cibw_archs }}
6767

6868
- name: Build wheels for CPython 3.9
69-
uses: pypa/cibuildwheel@v2.8.0
69+
uses: pypa/cibuildwheel@v2.8.1
7070
env:
7171
CIBW_BUILD: "cp39-*"
7272
CIBW_SKIP: "*-musllinux*"
@@ -79,7 +79,7 @@ jobs:
7979
CIBW_ARCHS: ${{ matrix.cibw_archs }}
8080

8181
- name: Build wheels for CPython 3.8
82-
uses: pypa/cibuildwheel@v2.8.0
82+
uses: pypa/cibuildwheel@v2.8.1
8383
env:
8484
CIBW_BUILD: "cp38-*"
8585
CIBW_SKIP: "*-musllinux*"
@@ -92,7 +92,7 @@ jobs:
9292
CIBW_ARCHS: ${{ matrix.cibw_archs }}
9393

9494
- name: Build wheels for PyPy
95-
uses: pypa/cibuildwheel@v2.8.0
95+
uses: pypa/cibuildwheel@v2.8.1
9696
env:
9797
CIBW_BUILD: "pp38-*"
9898
CIBW_SKIP: "*-musllinux*"

doc/api/animation_api.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ artist at a global scope and let Python sort things out. For example ::
111111

112112
fig, ax = plt.subplots()
113113
xdata, ydata = [], []
114-
ln, = plt.plot([], [], 'ro')
114+
ln, = ax.plot([], [], 'ro')
115115

116116
def init():
117117
ax.set_xlim(0, 2*np.pi)

doc/api/index_backend_api.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
``matplotlib.backends``
33
***********************
44

5+
.. module:: matplotlib.backends
6+
57
.. toctree::
68
:maxdepth: 1
79

doc/api/matplotlib_configuration_api.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44

55
.. py:currentmodule:: matplotlib
66
7+
.. automodule:: matplotlib
8+
:no-members:
9+
:no-undoc-members:
10+
:noindex:
11+
712
Backend management
813
==================
914

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
``stem(..., markerfmt=...)`` behavior
2+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3+
The behavior of the *markerfmt* parameter of `~.Axes.stem` has changed:
4+
5+
- If *markerfmt* does not contain a color, the color is taken from *linefmt*.
6+
- If *markerfmt* does not contain a marker, the default is 'o'.
7+
8+
Before, *markerfmt* was passed unmodified to ``plot(..., fmt)``, which had
9+
a number of unintended side-effects; e.g. only giving a color switched to
10+
a solid line without markers.
11+
12+
For a simple call ``stem(x, y)`` without parameters, the new rules still
13+
reproduce the old behavior.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
The pgf backend now uses the article documentclass as basis for compilation
2+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
The markerfacecoloralt parameter to Line2D is now supported by axes.errorbar
2+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3+
- markerfacecoloralt is now passed to the line plotter from axes.errorbar
4+
- Documentation for axes.errorbar how accurately lists which properties are
5+
passed on to Line2D, rather than claiming that all kwargs are passed on
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
Event handlers
2+
~~~~~~~~~~~~~~
3+
The ``draw_event``, ``resize_event``, ``close_event``, ``key_press_event``,
4+
``key_release_event``, ``pick_event``, ``scroll_event``,
5+
``button_press_event``, ``button_release_event``, ``motion_notify_event``,
6+
``enter_notify_event`` and ``leave_notify_event`` methods of `.FigureCanvasBase`
7+
are deprecated. They had inconsistent signatures across backends, and made it
8+
difficult to improve event metadata.
9+
10+
In order to trigger an event on a canvas, directly construct an `.Event` object
11+
of the correct class and call ``canvas.callbacks.process(event.name, event)``.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
``FigureCanvasBase.pick``
2+
~~~~~~~~~~~~~~~~~~~~~~~~~
3+
... is deprecated. Directly call `.Figure.pick`, which has taken over the
4+
responsibility of checking the canvas widgetlock as well.

0 commit comments

Comments
 (0)