Skip to content

Commit efc41b8

Browse files
authored
Merge pull request #13493 from tacaswell/v3.0.x-pi
V3.0.3 prep
2 parents 8d187df + fb98f47 commit efc41b8

File tree

10 files changed

+651
-472
lines changed

10 files changed

+651
-472
lines changed

doc/api/api_changes.rst

Lines changed: 24 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,36 @@ This pages lists API changes for the most recent version of Matplotlib.
2424
The list below is a table of contents of individual files from the 'next_api_changes' folder.
2525
When a release is made
2626

27-
- The full text list below should be moved into its own file in 'prev_api_changes'
27+
- The full text list below should be moved into its own file in
28+
'prev_api_changes' for minor and major versions, add sections at
29+
the top for bug-fix releases.
2830
- All the files in 'next_api_changes' should be moved to the bottom of this page
2931
- This note, and the toctree below should be commented out
3032

3133

32-
.. toctree::
33-
:glob:
34-
:maxdepth: 1
34+
.. toctree::
35+
:glob:
36+
:maxdepth: 1
3537

36-
next_api_changes/*
38+
next_api_changes/*
3739

40+
API Changes for 3.0.3
41+
=====================
42+
43+
matplotlib.font_manager.win32InstalledFonts return value
44+
--------------------------------------------------------
45+
46+
`matplotlib.font_manager.win32InstalledFonts` returns an empty list instead
47+
of None if no fonts are found.
48+
49+
50+
Matplotlib.use now has an ImportError for interactive backend
51+
-------------------------------------------------------------
52+
53+
Switching backends via `matplotlib.use` is now allowed by default,
54+
regardless of whether `matplotlib.pyplot` has been imported. If the user
55+
tries to switch from an already-started interactive backend to a different
56+
interactive backend, an ImportError will be raised.
3857

3958
API Changes for 3.0.1
4059
=====================

doc/api/next_api_changes/2018-09-22-TH-win32InstalledFonts.rst

Lines changed: 0 additions & 5 deletions
This file was deleted.

doc/api/next_api_changes/2018-10-24-JMK.rst

Lines changed: 0 additions & 7 deletions
This file was deleted.

doc/citing.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@ publication, please acknowledge this fact by citing `Hunter et al (2007)
2727
2828
DOIs
2929
----
30+
v3.0.2
31+
.. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.1482099.svg
32+
:target: https://doi.org/10.5281/zenodo.1482099
33+
v3.0.1
34+
.. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.1482098.svg
35+
:target: https://doi.org/10.5281/zenodo.1482098
3036
v3.0.0
3137
.. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.1420605.svg
3238
:target: https://doi.org/10.5281/zenodo.1420605

doc/users/github_stats.rst

Lines changed: 129 additions & 438 deletions
Large diffs are not rendered by default.

doc/users/next_whats_new/2018-07-18-AL.rst

Lines changed: 0 additions & 5 deletions
This file was deleted.

doc/users/prev_whats_new/github_stats_3.0.2.rst

Lines changed: 464 additions & 0 deletions
Large diffs are not rendered by default.

doc/users/whats_new.rst

Lines changed: 26 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,43 @@
11
.. _whats-new:
22

3-
=============================
4-
What's new in Matplotlib 3.0
5-
=============================
3+
===============================
4+
What's new in Matplotlib 3.0.3
5+
===============================
66

77
For a list of all of the issues and pull requests since the last
88
revision, see the :ref:`github-stats`.
99

1010
.. contents:: Table of Contents
11-
:depth: 4
12-
11+
:depth: 4
1312

1413
..
1514
For a release, add a new section after this, then comment out the include
1615
and toctree below by indenting them. Uncomment them after the release.
1716
18-
.. include:: next_whats_new/README.rst
17+
.. include:: next_whats_new/README.rst
18+
19+
.. toctree::
20+
:glob:
21+
:maxdepth: 1
22+
23+
next_whats_new/*
1924

20-
.. toctree::
21-
:glob:
22-
:maxdepth: 1
2325

24-
next_whats_new/*
26+
axes_grid1 and axisartist Axes no longer draw spines twice
27+
----------------------------------------------------------
28+
29+
Previously, spines of `axes_grid1` and `axisartist` Axes would be drawn twice,
30+
leading to a "bold" appearance. This is no longer the case.
31+
32+
=======================
33+
New in Matplotlib 3.0.0
34+
=======================
35+
36+
For a list of all of the issues and pull requests since the last
37+
revision, see the :ref:`github-stats-3-0-2`.
38+
39+
.. contents:: Table of Contents
40+
:depth: 4
2541

2642
Improved default backend selection
2743
----------------------------------

tools/gh_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def get_auth_token():
7171
return token
7272

7373
def make_auth_header():
74-
return {'Authorization': 'token ' + get_auth_token()}
74+
return {'Authorization': 'token ' + get_auth_token().replace("\n","")}
7575

7676
def post_issue_comment(project, num, body):
7777
url = 'https://api.github.com/repos/{project}/issues/{num}/comments'.format(project=project, num=num)

tools/github_stats.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ def report(issues, show_urls=False):
162162
state='closed',
163163
auth=True,
164164
)
165-
issues, pulls = split_pulls(issues_and_pulls)
165+
issues, pulls = split_pulls(issues_and_pulls, project=project)
166166
else:
167167
issues = issues_closed_since(since, project=project, pulls=False)
168168
pulls = issues_closed_since(since, project=project, pulls=True)

0 commit comments

Comments
 (0)