Skip to content

Commit 3e349be

Browse files
committed
Another fix
1 parent 5ef6b68 commit 3e349be

2 files changed

Lines changed: 11 additions & 5 deletions

File tree

‎.github/workflows/ci_pipeline.yml‎

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,14 @@ jobs:
2525
# with:
2626
# python-version: ${{ matrix.python-version }}
2727

28+
- name: Install LaTeX
29+
run: |
30+
# pdflatex with pgfplots: the tikzfigure backend, its tests and tutorials
31+
sudo apt-get update
32+
sudo apt-get install -y --no-install-recommends \
33+
texlive-latex-base texlive-latex-extra texlive-pictures \
34+
texlive-fonts-recommended lmodern
35+
2836
- name: Install python dependencies
2937
run: |
3038
python -m pip install --upgrade pip
@@ -39,7 +47,5 @@ jobs:
3947
4048
- name: Test tutorials
4149
run: |
42-
# tutorial_07_tikz.ipynb requires pdflatex — skip it in CI
43-
jupyter nbconvert --to notebook --execute \
44-
$(ls tutorials/*.ipynb | grep -v tutorial_07_tikz) \
50+
jupyter nbconvert --to notebook --execute tutorials/*.ipynb \
4551
--output-dir=/tmp --ExecutePreprocessor.timeout=300

‎tutorials/tutorial_02.ipynb‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
" xlim=(0, 360),\n",
8383
" ylim=(-1.5, 1.5),\n",
8484
" grid=True,\n",
85-
" caption=\"Sine Function\",\n",
85+
" title=\"Sine Function\",\n",
8686
" width=0.45,\n",
8787
")\n",
8888
"ax1.add_plot(x=x, y=y1, label=\"sin(x)\", color=\"red\", line_width=\"1.5pt\")\n",
@@ -95,7 +95,7 @@
9595
" xlim=(0, 360),\n",
9696
" ylim=(-1.5, 1.5),\n",
9797
" grid=True,\n",
98-
" caption=\"Cosine Function\",\n",
98+
" title=\"Cosine Function\",\n",
9999
" width=0.45,\n",
100100
")\n",
101101
"ax2.add_plot(x=x, y=y2, label=\"cos(x)\", color=\"blue\", line_width=\"1.5pt\")\n",

0 commit comments

Comments
 (0)