Skip to content

Commit c8c3f9e

Browse files
committed
explicitly support python 3.10
1 parent cd503f8 commit c8c3f9e

File tree

3 files changed

+19
-14
lines changed

3 files changed

+19
-14
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
runs-on: ubuntu-latest
2424
strategy:
2525
matrix:
26-
python-version: [3.6, 3.7, 3.8, 3.9]
26+
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10-dev"]
2727
steps:
2828
- uses: actions/setup-python@v2
2929
with:

README.md

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,9 @@ figures like
2626

2727
for native inclusion into LaTeX or ConTeXt documents.
2828

29-
The output of tikzplotlib is in
30-
[PGFPlots](https://github.com/pgf-tikz/pgfplots/), a TeX library that sits on
31-
top of [PGF/TikZ](https://en.wikipedia.org/wiki/PGF/TikZ) and describes graphs in terms
32-
of axes, data etc. Consequently, the output of tikzplotlib
29+
The output of tikzplotlib is in [PGFPlots](https://github.com/pgf-tikz/pgfplots/), a TeX
30+
library that sits on top of [PGF/TikZ](https://en.wikipedia.org/wiki/PGF/TikZ) and
31+
describes graphs in terms of axes, data etc. Consequently, the output of tikzplotlib
3332

3433
- retains more information,
3534
- can be more easily understood, and
@@ -58,14 +57,17 @@ import tikzplotlib
5857

5958
tikzplotlib.save("test.tex")
6059
```
60+
6161
<!--close the figure and reset defaults
6262
<!--pytest-codeblocks:cont-->
63+
6364
```python
6465
import matplotlib as mpl
6566

6667
plt.close()
6768
mpl.rcParams.update(mpl.rcParamsDefault)
6869
```
70+
6971
-->
7072
(see above) gives
7173

@@ -147,8 +149,8 @@ to install.
147149

148150
to store the TikZ file as `mytikz.tex`.
149151

150-
3. Add the contents of `mytikz.tex` into your TeX source code. A convenient way of
151-
doing so is via
152+
3. Add the contents of `mytikz.tex` into your TeX source code. A convenient way of doing
153+
so is via
152154

153155
```latex
154156
\input{/path/to/mytikz.tex}
@@ -189,7 +191,8 @@ to install.
189191
tikzplotlib.Flavors.context.preamble()
190192
```
191193

192-
4. Optional: clean up the figure before exporting to tikz using the `clean_figure` command.
194+
4. [Optional] Clean up the figure before exporting to tikz using the `clean_figure`
195+
command.
193196

194197
```python
195198
import matplotlib.pyplot as plt
@@ -212,16 +215,16 @@ to install.
212215

213216
### Contributing
214217

215-
If you experience bugs, would like to contribute, have nice examples of what
216-
tikzplotlib can do, or if you are just looking for more information, then please
217-
visit [tikzplotlib's GitHub page](https://github.com/nschloe/tikzplotlib).
218+
If you experience bugs, would like to contribute, have nice examples of what tikzplotlib
219+
can do, or if you are just looking for more information, then please visit
220+
[tikzplotlib's GitHub page](https://github.com/nschloe/tikzplotlib).
218221

219222
### Testing
220223

221224
tikzplotlib has automatic unit testing to make sure that the software doesn't
222225
accidentally get worse over time. In `test/`, a number of test cases are specified.
223-
Those run through tikzplotlib and compare the output with a previously stored
224-
reference TeX file.
226+
Those run through tikzplotlib and compare the output with a previously stored reference
227+
TeX file.
225228

226229
To run the tests, just check out this repository and type
227230

@@ -231,4 +234,5 @@ pytest
231234

232235
### License
233236

234-
tikzplotlib is published under the [MIT license](https://en.wikipedia.org/wiki/MIT_License).
237+
tikzplotlib is published under the [MIT
238+
license](https://en.wikipedia.org/wiki/MIT_License).

setup.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ classifiers =
2424
Programming Language :: Python :: 3.7
2525
Programming Language :: Python :: 3.8
2626
Programming Language :: Python :: 3.9
27+
Programming Language :: Python :: 3.10
2728
Topic :: Multimedia :: Graphics :: Graphics Conversion
2829
Topic :: Scientific/Engineering :: Visualization
2930
keywords =

0 commit comments

Comments
 (0)