Skip to content

Commit 1463569

Browse files
committed
Bump to Matplotlib 3.7.1
And also Cartopy to latest version to make it installable on current versions of Python.
1 parent 1affc9e commit 1463569

11 files changed

+92
-88
lines changed

.bumpversion.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 3.5.0
2+
current_version = 3.7.1
33

44
[bumpversion:file:./check-matplotlib-version.py]
55
search = __version__ == '{current_version}'

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ all: logos figures cheatsheets handouts docs
99

1010
.PHONY: logos
1111
logos:
12-
wget https://github.com/matplotlib/matplotlib/raw/v3.5.0/doc/_static/logo2.png -O ./logos/logo2.png
12+
wget https://github.com/matplotlib/matplotlib/raw/v3.7.1/doc/_static/logo2.png -O ./logos/logo2.png
1313

1414
.PHONY: figures
1515
figures:

cheatsheets.tex

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@
264264
\begin{multicols*}{5}
265265
\begin{overpic}[width=\columnwidth,tics=6,trim=12 6 18 6, clip]{logo2.png}
266266
\put (16.5,1.5) {\scriptsize\RobotoCon \textcolor[HTML]{11557c}{Cheat sheet}}
267-
\put (80,1.5) {\tiny\Roboto \textcolor[HTML]{11557c}{Version 3.5.0}}
267+
\put (80,1.5) {\tiny\Roboto \textcolor[HTML]{11557c}{Version 3.7.1}}
268268
\end{overpic}
269269
%\textbf{\Large \RobotoCon Matplotlib 3.2 cheat sheet}\\
270270
%{\ttfamily https://matplotlib.org} \hfill CC-BY 4.0
@@ -682,16 +682,16 @@
682682
\fbox{\includegraphics[width=.32\columnwidth]{style-classic.pdf}}
683683
\fbox{\includegraphics[width=.32\columnwidth]{style-grayscale.pdf}}
684684
\fbox{\includegraphics[width=.32\columnwidth]{style-ggplot.pdf}}
685-
\fbox{\includegraphics[width=.32\columnwidth]{style-seaborn.pdf}}
685+
\fbox{\includegraphics[width=.32\columnwidth]{style-seaborn-v0_8.pdf}}
686686
\fbox{\includegraphics[width=.32\columnwidth]{style-fast.pdf}}
687687
\fbox{\includegraphics[width=.32\columnwidth]{style-bmh.pdf}}
688688
\fbox{\includegraphics[width=.32\columnwidth]{style-Solarize_Light2.pdf}}
689-
\fbox{\includegraphics[width=.32\columnwidth]{style-seaborn-notebook.pdf}}
689+
\fbox{\includegraphics[width=.32\columnwidth]{style-seaborn-v0_8-notebook.pdf}}
690690
%% \fbox{\includegraphics[width=.24\columnwidth]{style-default.pdf}}
691691
%% \fbox{\includegraphics[width=.24\columnwidth]{style-classic.pdf}}
692692
%% \fbox{\includegraphics[width=.24\columnwidth]{style-grayscale.pdf}}
693693
%% \fbox{\includegraphics[width=.24\columnwidth]{style-ggplot.pdf}}
694-
%% \fbox{\includegraphics[width=.24\columnwidth]{style-seaborn.pdf}}
694+
%% \fbox{\includegraphics[width=.24\columnwidth]{style-seaborn-v0_8.pdf}}
695695
%% \fbox{\includegraphics[width=.24\columnwidth]{style-fast.pdf}}
696696
%% \fbox{\includegraphics[width=.24\columnwidth]{style-bmh.pdf}}
697697
%% \fbox{\includegraphics[width=.24\columnwidth]{style-Solarize_Light2.pdf}}

check-matplotlib-version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
import matplotlib as mpl
33

44

5-
assert mpl.__version__ == '3.5.0'
5+
assert mpl.__version__ == '3.7.1'

docs/conf.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@
3131
html_theme = "mpl_sphinx_theme"
3232
html_favicon = "_static/favicon.ico"
3333
html_theme_options = {
34-
"logo_link": "https://matplotlib.org/stable/",
35-
"native_site": False,
34+
"navbar_links": ("absolute", "server-stable"),
3635
}
3736
html_sidebars = {
3837
"**": []

figures/legend.pdf

1.12 KB
Binary file not shown.

handout-beginner.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ \subsection*{\rmfamily Save \mdseries (bitmap or vector format)}
297297
\vfill
298298
%
299299
{\scriptsize
300-
Matplotlib 3.5.0 handout for beginners.
300+
Matplotlib 3.7.1 handout for beginners.
301301
Copyright (c) 2021 Matplotlib Development Team.
302302
Released under a CC-BY 4.0 International License.
303303
Supported by NumFOCUS.

handout-intermediate.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ \subsection*{\rmfamily Size \& DPI}
198198
\vfill
199199
%
200200
{\scriptsize
201-
Matplotlib 3.5.0 handout for intermediate users.
201+
Matplotlib 3.7.1 handout for intermediate users.
202202
Copyright (c) 2021 Matplotlib Development Team.
203203
Released under a CC-BY 4.0 International License.
204204
Supported by NumFOCUS.

handout-tips.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ \subsection*{\rmfamily Read the documentation}
243243
\vfill
244244
%
245245
{\scriptsize
246-
Matplotlib 3.5.0 handout for tips \& tricks.
246+
Matplotlib 3.7.1 handout for tips \& tricks.
247247
Copyright (c) 2021 Matplotlib Development Team.
248248
Released under a CC-BY 4.0 International License.
249249
Supported by NumFOCUS.

requirements/requirements.in

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
autopep8
22
bump2version
3-
cartopy==0.19.0.post1
3+
cartopy==0.21.1
44
flake8
5-
matplotlib==3.5.0
6-
mpl-sphinx-theme
5+
matplotlib==3.7.1
6+
mpl-sphinx-theme~=3.7.1
77
pillow>=9
88
pdfx
99
pip-tools

0 commit comments

Comments
 (0)