Skip to content

Commit dd9d151

Browse files
committed
DOC: add note about using bump2version to readme
1 parent b5c1152 commit dd9d151

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,24 @@ $ cd ..
6060
$ xelatex cheatsheets.tex
6161
$ xelatex cheatsheets.tex
6262
```
63+
64+
## Update Matplotlib version
65+
66+
The version of Matplotlib is hard-coded a number of places throughout the
67+
cheatsheets. To ensure that they are all consistent (and consistent with the
68+
version of Matplotlib actually used) use the tool `bump2version` to update.
69+
For patch releases do
70+
71+
```
72+
$ bump2release --new-version x.y.Z patch
73+
$ cd requirements
74+
$ pip-compile requirements.in > requirements.txt
75+
```
76+
77+
and for a new minor versions do
78+
79+
```
80+
$ bump2release --new-version x.Y.0 minor
81+
$ cd requirements
82+
$ pip-compile requirements.in > requirements.txt
83+
```

0 commit comments

Comments
 (0)