diff --git a/.forgejo/workflows/serve.yaml b/.forgejo/workflows/serve.yaml index 203f4f2..247f473 100644 --- a/.forgejo/workflows/serve.yaml +++ b/.forgejo/workflows/serve.yaml @@ -11,9 +11,11 @@ jobs: - name: Initialize virtual environment run: /usr/bin/python -m venv .env - name: Install dependencies - run: ./.env/bin/pip install mystmd jupyterlab_myst ipykernel altair pandas + run: ./.env/bin/pip install mystmd jupyter jupyterlab_myst ipykernel altair pandas - name: Build static HTML - run: ./.env/bin/myst build --html + run: | + . .env/bin/activate + myst build --execute --html - name: Copy files run: | rm -rf /data/srv/forgejo-runner/cours4.0 diff --git a/cours/SIN/02-signaux.md b/cours/SIN/02-signaux.md index 1a4929f..899f7cd 100644 --- a/cours/SIN/02-signaux.md +++ b/cours/SIN/02-signaux.md @@ -34,10 +34,7 @@ et un niveau **bas** ("Low"). :tags: [remove-input] import altair as alt import pandas as pd -import matplotlib.pyplot as plt -import numpy as np import random -from scipy.interpolate import CubicSpline random.seed(25)