Skip to content

Commit f9aef93

Browse files
committed
use exdown for testing
1 parent c650928 commit f9aef93

File tree

5 files changed

+5
-8
lines changed

5 files changed

+5
-8
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,6 @@ jobs:
3131
- uses: actions/checkout@v2
3232
- name: Install system dependencies
3333
run: sudo apt-get install -y texlive-latex-base texlive-latex-extra context python3-tk
34-
- name: Extract tests from README
35-
run: |
36-
pip install excode
37-
excode README.md test/zzz_readme_test.py --filter python,test
3834
- name: Test with tox
3935
run: |
4036
pip install tox

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<p align="center">The artist formerly known as *matplotlib2tikz.*</p>
44
</p>
55

6-
[![CircleCI](https://img.shields.io/circleci/project/github/nschloe/tikzplotlib/master.svg?style=flat-square)](https://circleci.com/gh/nschloe/tikzplotlib/tree/master)
6+
[![gh-actions](https://img.shields.io/github/workflow/status/nschloe/tikzplotlib/ci?style=flat-square)](https://github.com/nschloe/tikzplotlib/actions?query=workflow%3Aci)
77
[![codecov](https://img.shields.io/codecov/c/github/nschloe/tikzplotlib.svg?style=flat-square)](https://codecov.io/gh/nschloe/tikzplotlib)
88
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg?style=flat-square)](https://github.com/psf/black)
99
[![Documentation Status](https://readthedocs.org/projects/tikzplotlib/badge/?version=latest&style=flat-square)](https://readthedocs.org/projects/tikzplotlib/?badge=latest)
@@ -33,7 +33,7 @@ of axes, data etc. Consequently, the output of tikzplotlib
3333

3434
than [raw TikZ output](https://matplotlib.org/users/whats_new.html#pgf-tikz-backend).
3535
For example, the matplotlib figure
36-
```python,test
36+
```python
3737
import matplotlib.pyplot as plt
3838
import numpy as np
3939

test/test_cleanfigure.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import numpy as np
2+
import pytest
23
from matplotlib import pyplot as plt
34

4-
import pytest
55
from tikzplotlib import clean_figure, get_tikz_code
66

77
RC_PARAMS = {"figure.figsize": [5, 5], "figure.dpi": 220, "pgf.rcfonts": False}

test/test_rotated_labels.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import os
22
import tempfile
33

4+
import pytest
45
from matplotlib import pyplot as plt
56

6-
import pytest
77
import tikzplotlib
88

99

tox.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ isolated_build = True
44

55
[testenv]
66
deps =
7+
exdown
78
pandas
89
pytest
910
pytest-cov

0 commit comments

Comments
 (0)