Skip to content

bump matplotlib version #101

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 10, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
[bumpversion]
current_version = 3.4.2
current_version = 3.5.0

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

[bumpversion:glob:./handout-*.tex]
search = Matplotlib {current_version}
Expand Down
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ all: logos figures cheatsheets handouts docs

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

.PHONY: figures
figures:
Expand All @@ -35,6 +35,7 @@ handouts:

.PHONY: check
check:
./check-matplotlib-version.py
./check-num-pages.sh cheatsheets.pdf 2
./check-num-pages.sh handout-tips.pdf 1
./check-num-pages.sh handout-beginner.pdf 1
Expand Down
2 changes: 1 addition & 1 deletion cheatsheets.tex
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@
\begin{multicols*}{5}
\begin{overpic}[width=\columnwidth,tics=6,trim=12 6 18 6, clip]{logo2.png}
\put (16.5,1.5) {\scriptsize\RobotoCon \textcolor[HTML]{11557c}{Cheat sheet}}
\put (80,1.5) {\tiny\Roboto \textcolor[HTML]{11557c}{Version 3.4.2}}
\put (80,1.5) {\tiny\Roboto \textcolor[HTML]{11557c}{Version 3.5.0}}
\end{overpic}
%\textbf{\Large \RobotoCon Matplotlib 3.2 cheat sheet}\\
%{\ttfamily https://matplotlib.org} \hfill CC-BY 4.0
Expand Down
5 changes: 5 additions & 0 deletions check-matplotlib-version.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env python
import matplotlib as mpl


assert mpl.__version__ == '3.5.0'
2 changes: 1 addition & 1 deletion handout-beginner.tex
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ \subsection*{\rmfamily Save \mdseries (bitmap or vector format)}
\vfill
%
{\scriptsize
Matplotlib 3.4.2 handout for beginners.
Matplotlib 3.5.0 handout for beginners.
Copyright (c) 2021 Matplotlib Development Team.
Released under a CC-BY 4.0 International License.
Supported by NumFOCUS.
Expand Down
2 changes: 1 addition & 1 deletion handout-intermediate.tex
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ \subsection*{\rmfamily Size \& DPI}
\vfill
%
{\scriptsize
Matplotlib 3.4.2 handout for intermediate users.
Matplotlib 3.5.0 handout for intermediate users.
Copyright (c) 2021 Matplotlib Development Team.
Released under a CC-BY 4.0 International License.
Supported by NumFOCUS.
Expand Down
2 changes: 1 addition & 1 deletion handout-tips.tex
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ \subsection*{\rmfamily Read the documentation}
\vfill
%
{\scriptsize
Matplotlib 3.4.2 handout for tips \& tricks.
Matplotlib 3.5.0 handout for tips \& tricks.
Copyright (c) 2021 Matplotlib Development Team.
Released under a CC-BY 4.0 International License.
Supported by NumFOCUS.
Expand Down
2 changes: 1 addition & 1 deletion requirements/requirements.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ autopep8
bump2version
cartopy==0.19.0.post1
flake8
matplotlib==3.4.2
matplotlib==3.5.0
mpl-sphinx-theme
pdfx
pip-tools
Expand Down
13 changes: 11 additions & 2 deletions requirements/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ filelock==3.0.12
# via virtualenv
flake8==4.0.1
# via -r requirements.in
fonttools==4.28.3
# via matplotlib
identify==2.2.2
# via pre-commit
idna==3.3
Expand All @@ -66,7 +68,7 @@ kiwisolver==1.3.1
# via matplotlib
markupsafe==2.0.1
# via jinja2
matplotlib==3.4.2
matplotlib==3.5.0
# via -r requirements.in
mccabe==0.6.1
# via flake8
Expand All @@ -80,7 +82,10 @@ numpy==1.19.5
# matplotlib
# scipy
packaging==21.2
# via sphinx
# via
# matplotlib
# setuptools-scm
# sphinx
pdfminer.six==20201018
# via pdfx
pdfx==1.4.1
Expand Down Expand Up @@ -121,6 +126,8 @@ requests==2.26.0
# via sphinx
scipy==1.5.4
# via -r requirements.in
setuptools-scm==6.3.2
# via matplotlib
shapely==1.7.1
# via cartopy
six==1.15.0
Expand Down Expand Up @@ -155,6 +162,8 @@ toml==0.10.2
# autopep8
# pep517
# pre-commit
tomli==1.2.2
# via setuptools-scm
typing-extensions==4.0.0
# via importlib-metadata
urllib3==1.26.7
Expand Down