diff --git a/.matplotlibrc b/.matplotlibrc new file mode 100644 index 00000000..3628ab7c --- /dev/null +++ b/.matplotlibrc @@ -0,0 +1,4 @@ +backend: agg +figure.dpi: 100 +font.family: DejaVu Sans +savefig.dpi: 100 diff --git a/examples/1-basic/matplotlibrc b/examples/1-basic/matplotlibrc new file mode 120000 index 00000000..0f9ea77e --- /dev/null +++ b/examples/1-basic/matplotlibrc @@ -0,0 +1 @@ +../../.matplotlibrc \ No newline at end of file diff --git a/examples/2-advanced/matplotlibrc b/examples/2-advanced/matplotlibrc new file mode 120000 index 00000000..0f9ea77e --- /dev/null +++ b/examples/2-advanced/matplotlibrc @@ -0,0 +1 @@ +../../.matplotlibrc \ No newline at end of file diff --git a/noxfile.py b/noxfile.py index 4c070657..6a45d5c7 100644 --- a/noxfile.py +++ b/noxfile.py @@ -72,6 +72,7 @@ def examples(session: nox.Session) -> None: session.run( "jupyter", "execute", + "--inplace", *Path().glob("examples/**/*.ipynb"), *session.posargs, )