Skip to content

Commit 427c2fb

Browse files
Merge branch 'master' of https://github.com/xordux/matplotlib into navigate_mode_18151
2 parents f7640d9 + fc35fc8 commit 427c2fb

File tree

203 files changed

+4900
-4399
lines changed

Some content is hidden

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

203 files changed

+4900
-4399
lines changed

.github/CODE_OF_CONDUCT.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
11
Matplotlib follows the Python Software Foundation Code of Conduct in everything we do,
22
see https://www.python.org/psf/conduct/.
3+
4+
Report violations to [email protected], which is checked by Hannah Aizenman (@story645) and Thomas Caswell (@tacaswell).
5+
6+
You can also use the NumFocus Code of Conduct [Reporting Form](https://numfocus.typeform.com/to/ynjGdT).

.github/workflows/cibuildwheel.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
CIBW_SKIP: "cp35-* cp36-*"
4343
CIBW_MANYLINUX_X86_64_IMAGE: manylinux1
4444
CIBW_MANYLINUX_I686_IMAGE: manylinux1
45-
CIBW_BEFORE_BUILD: pip install numpy==1.15
45+
CIBW_BEFORE_BUILD: pip install certifi numpy==1.16
4646
MPL_DISABLE_FH4: "yes"
4747

4848
- name: Build wheels for CPython 3.6
@@ -52,7 +52,7 @@ jobs:
5252
CIBW_BUILD: "cp36-*"
5353
CIBW_MANYLINUX_X86_64_IMAGE: manylinux1
5454
CIBW_MANYLINUX_I686_IMAGE: manylinux1
55-
CIBW_BEFORE_BUILD: pip install numpy==1.15
55+
CIBW_BEFORE_BUILD: pip install certifi numpy==1.16
5656
MPL_DISABLE_FH4: "yes"
5757
if: >
5858
startsWith(github.ref, 'refs/heads/v3.3') ||
@@ -63,7 +63,7 @@ jobs:
6363
python -m cibuildwheel --output-dir dist
6464
env:
6565
CIBW_BUILD: "pp3?-*"
66-
CIBW_BEFORE_BUILD: pip install numpy==1.15
66+
CIBW_BEFORE_BUILD: pip install certifi numpy==1.16
6767
if: >
6868
runner.os != 'Windows' && (
6969
startsWith(github.ref, 'refs/heads/v3.3') ||

SECURITY.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Security Policy
2+
3+
## Supported Versions
4+
5+
The following table lists versions and whether they are supported. Security
6+
vulnerability reports will be accepted and acted upon for all supported
7+
versions.
8+
9+
| Version | Supported |
10+
| ------- | ------------------ |
11+
| 3.3.x | :white_check_mark: |
12+
| 3.2.x | :white_check_mark: |
13+
| 3.1.x | :x: |
14+
| 3.0.x | :x: |
15+
| 2.2.x | :white_check_mark: |
16+
| < 2.2 | :x: |
17+
18+
## Reporting a Vulnerability
19+
20+
If you have found a security vulnerability, in order to keep it confidential,
21+
please do not report an issue on GitHub.
22+
23+
Please email us details of the vulnerability at [email protected];
24+
include a description and proof-of-concept that is [short and
25+
self-contained](http://www.sscce.org/).
26+
27+
You should expect a response within a week of your email. Depending on the
28+
severity of the issue, this may require some time to draft an immediate bugfix
29+
release. Less severe issues may be held until the next release.
30+
31+
We do not award bounties for security vulnerabilities.

doc/_static/mpl.css

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -162,11 +162,6 @@ dt:target,
162162
background-color: #ffffee;
163163
}
164164

165-
dl.glossary dt {
166-
font-weight: bold;
167-
font-size: 1.1em;
168-
}
169-
170165
pre a {
171166
color: inherit;
172167
text-decoration: none;
@@ -245,20 +240,6 @@ div.sphinxsidebar {
245240
/* margin-left: -100%; */
246241
}
247242

248-
div.sphinxsidebar h4, div.sphinxsidebar h3 {
249-
margin: 1em 0 0.5em 0;
250-
font-size: 0.9em;
251-
padding: 0.1em 0 0.1em 0.5em;
252-
color: white;
253-
border: 1px solid #86989B;
254-
background-color: #AFC1C4;
255-
}
256-
257-
div.sphinxsidebar h3 a {
258-
/* workaround for table of contents heading, which is a link */
259-
color: white !important;
260-
}
261-
262243
div.sphinxsidebar ul {
263244
padding-left: 1.5em;
264245
margin-top: 10px;

doc/api/axis_api.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,10 @@ Data and view intervals
121121

122122
Axis.get_data_interval
123123
Axis.get_view_interval
124+
Axis.get_inverted
124125
Axis.set_data_interval
125126
Axis.set_view_interval
127+
Axis.set_inverted
126128

127129
Rendering helpers
128130
-----------------

doc/api/figure_api.rst

Lines changed: 2 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -5,26 +5,5 @@
55
.. currentmodule:: matplotlib.figure
66

77
.. automodule:: matplotlib.figure
8-
:no-members:
9-
:no-inherited-members:
10-
11-
Classes
12-
-------
13-
14-
.. autosummary::
15-
:toctree: _as_gen/
16-
:template: autosummary.rst
17-
:nosignatures:
18-
19-
Figure
20-
SubplotParams
21-
22-
Functions
23-
---------
24-
25-
.. autosummary::
26-
:toctree: _as_gen/
27-
:template: autosummary.rst
28-
:nosignatures:
29-
30-
figaspect
8+
:members:
9+
:inherited-members:

doc/api/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ Matplotlib consists of the following submodules:
119119
texmanager_api.rst
120120
textpath_api.rst
121121
ticker_api.rst
122+
tight_bbox_api.rst
122123
tight_layout_api.rst
123124
transformations.rst
124125
tri_api.rst
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
Raise or warn on registering a colormap twice
2+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3+
4+
When using `matplotlib.cm.register_cmap` to register a user provided
5+
or third-party colormap it will now raise a `ValueError` if trying to
6+
over-write one of the built in colormaps and warn if trying to over
7+
write a user registered colormap. This may raise for user-registered
8+
colormaps in the future.
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
GTK/Tk key name changes
2+
~~~~~~~~~~~~~~~~~~~~~~~
3+
4+
The handling of non-ASCII keypresses (as reported in the KeyEvent passed to
5+
``key_press_event``-handlers) in the GTK and Tk backends now correctly reports
6+
Unicode characters (e.g., €), and better respects NumLock on the numpad.
7+
8+
The following key names have changed; the new names are consistent with those
9+
reported by the Qt backends:
10+
11+
- The "Break/Pause" key (keysym 0xff13) is now reported as "pause" instead of
12+
"break" (this is also consistent with the X key name).
13+
- The numpad "delete" key is now reported as "delete" instead of "dec".
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
Axes3D no longer adds itself to figure
2+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3+
4+
New `.Axes3D` objects previously added themselves to figures when they were
5+
created, which lead to them being added twice if
6+
``fig.add_subplot(111, projection='3d')`` was called. Now ``ax = Axes3d(fig)``
7+
will need to be explicitly added to the figure with ``fig.add_axes(ax)``, as
8+
also needs to be done for normal `.axes.Axes`.

0 commit comments

Comments
 (0)