Skip to content

Commit 91ebc86

Browse files
authored
Merge pull request #101 from jimustafa/bump-matplotlib-version
bump matplotlib version
2 parents 08545e5 + b0af64f commit 91ebc86

9 files changed

+28
-9
lines changed

.bumpversion.cfg

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
[bumpversion]
2-
current_version = 3.4.2
2+
current_version = 3.5.0
3+
4+
[bumpversion:file:./check-matplotlib-version.py]
5+
search = __version__ == '{current_version}'
6+
replace = __version__ == '{new_version}'
37

48
[bumpversion:glob:./handout-*.tex]
59
search = Matplotlib {current_version}

Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ all: logos figures cheatsheets handouts docs
88

99
.PHONY: logos
1010
logos:
11-
wget https://github.com/matplotlib/matplotlib/raw/v3.4.2/doc/_static/logo2.png -O ./logos/logo2.png
11+
wget https://github.com/matplotlib/matplotlib/raw/v3.5.0/doc/_static/logo2.png -O ./logos/logo2.png
1212

1313
.PHONY: figures
1414
figures:
@@ -35,6 +35,7 @@ handouts:
3535

3636
.PHONY: check
3737
check:
38+
./check-matplotlib-version.py
3839
./check-num-pages.sh cheatsheets.pdf 2
3940
./check-num-pages.sh handout-tips.pdf 1
4041
./check-num-pages.sh handout-beginner.pdf 1

cheatsheets.tex

+1-1
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.4.2}}
267+
\put (80,1.5) {\tiny\Roboto \textcolor[HTML]{11557c}{Version 3.5.0}}
268268
\end{overpic}
269269
%\textbf{\Large \RobotoCon Matplotlib 3.2 cheat sheet}\\
270270
%{\ttfamily https://matplotlib.org} \hfill CC-BY 4.0

check-matplotlib-version.py

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/usr/bin/env python
2+
import matplotlib as mpl
3+
4+
5+
assert mpl.__version__ == '3.5.0'

handout-beginner.tex

+1-1
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.4.2 handout for beginners.
300+
Matplotlib 3.5.0 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

+1-1
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ \subsection*{\rmfamily Size \& DPI}
198198
\vfill
199199
%
200200
{\scriptsize
201-
Matplotlib 3.4.2 handout for intermediate users.
201+
Matplotlib 3.5.0 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

+1-1
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.4.2 handout for tips \& tricks.
246+
Matplotlib 3.5.0 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

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ autopep8
22
bump2version
33
cartopy==0.19.0.post1
44
flake8
5-
matplotlib==3.4.2
5+
matplotlib==3.5.0
66
mpl-sphinx-theme
77
pdfx
88
pip-tools

requirements/requirements.txt

+11-2
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ filelock==3.0.12
4848
# via virtualenv
4949
flake8==4.0.1
5050
# via -r requirements.in
51+
fonttools==4.28.3
52+
# via matplotlib
5153
identify==2.2.2
5254
# via pre-commit
5355
idna==3.3
@@ -66,7 +68,7 @@ kiwisolver==1.3.1
6668
# via matplotlib
6769
markupsafe==2.0.1
6870
# via jinja2
69-
matplotlib==3.4.2
71+
matplotlib==3.5.0
7072
# via -r requirements.in
7173
mccabe==0.6.1
7274
# via flake8
@@ -80,7 +82,10 @@ numpy==1.19.5
8082
# matplotlib
8183
# scipy
8284
packaging==21.2
83-
# via sphinx
85+
# via
86+
# matplotlib
87+
# setuptools-scm
88+
# sphinx
8489
pdfminer.six==20201018
8590
# via pdfx
8691
pdfx==1.4.1
@@ -121,6 +126,8 @@ requests==2.26.0
121126
# via sphinx
122127
scipy==1.5.4
123128
# via -r requirements.in
129+
setuptools-scm==6.3.2
130+
# via matplotlib
124131
shapely==1.7.1
125132
# via cartopy
126133
six==1.15.0
@@ -155,6 +162,8 @@ toml==0.10.2
155162
# autopep8
156163
# pep517
157164
# pre-commit
165+
tomli==1.2.2
166+
# via setuptools-scm
158167
typing-extensions==4.0.0
159168
# via importlib-metadata
160169
urllib3==1.26.7

0 commit comments

Comments
 (0)