From 7c7f3797139214aa96a198b693ff954eb358f27b Mon Sep 17 00:00:00 2001 From: Orestis <orestis.malaspinas@pm.me> Date: Wed, 8 Mar 2023 23:42:11 +0100 Subject: [PATCH] added pandoc-plot --- 05_courant_electrique.md | 10 ++++++++++ Makefile | 1 + 2 files changed, 11 insertions(+) diff --git a/05_courant_electrique.md b/05_courant_electrique.md index d3f4775..641e7cd 100644 --- a/05_courant_electrique.md +++ b/05_courant_electrique.md @@ -314,3 +314,13 @@ $$ Et c'est une bonne nouvelle. --- + +## Le courant alternatif + +```{.matplotlib} +import matplotlib.pyplot as plt + +plt.figure() +plt.plot([0,1,2,3,4], [1,2,3,4,5]) +plt.title('This is an example figure') +``` diff --git a/Makefile b/Makefile index 08ea78a..d5a2acd 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,5 @@ OPTIONS = --toc +OPTIONS += --filter=pandoc-plot OPTIONS += --filter=pandoc-numbering OPTIONS += --filter=pandoc-crossref -- GitLab