From 076f3f333f1f093154116195668fadddd0420b24 Mon Sep 17 00:00:00 2001 From: Nepo Rojas Date: Tue, 14 Nov 2023 13:20:36 -0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Format=20with=20Black?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile | 3 +++ examples/calibration-demo.ipynb | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 89eefaa..de49d07 100644 --- a/Makefile +++ b/Makefile @@ -61,6 +61,9 @@ format: black --line-length 100 tests black --line-length 100 examples/*.ipynb +format_notebook: + black --line-length 100 /workdir/*.ipynb + init: setup tests linter: diff --git a/examples/calibration-demo.ipynb b/examples/calibration-demo.ipynb index 21ad500..19cdf73 100644 --- a/examples/calibration-demo.ipynb +++ b/examples/calibration-demo.ipynb @@ -256,7 +256,7 @@ " label=\"real density\",\n", ")\n", "plt.xlabel(\"Distance (m)\", size=fontsize)\n", - "plt.ylabel(\"Density (kg/m$^2$)\", size=fontsize);\n", + "plt.ylabel(\"Density (kg/m$^2$)\", size=fontsize)\n", "plt.savefig(\"figures/density_profile.png\")" ] },