From 39d9f2757d43b54b14cd9fd692a9b0801d07fe78 Mon Sep 17 00:00:00 2001 From: Remco de Boer <29308176+redeboer@users.noreply.github.com> Date: Sat, 2 Dec 2023 20:01:59 +0100 Subject: [PATCH] DOC: plot with SVG where needed --- docs/usage/amplitude.ipynb | 1 + docs/usage/dynamics.ipynb | 1 + docs/usage/dynamics/analytic-continuation.ipynb | 1 + docs/usage/dynamics/custom.ipynb | 1 + docs/usage/interactive.ipynb | 1 + docs/usage/symplot.ipynb | 1 + 6 files changed, 6 insertions(+) diff --git a/docs/usage/amplitude.ipynb b/docs/usage/amplitude.ipynb index a49c7cabe..a1f6075bf 100644 --- a/docs/usage/amplitude.ipynb +++ b/docs/usage/amplitude.ipynb @@ -76,6 +76,7 @@ }, "outputs": [], "source": [ + "%config InlineBackend.figure_formats = ['svg']\n", "import sympy as sp\n", "from IPython.display import Math\n", "\n", diff --git a/docs/usage/dynamics.ipynb b/docs/usage/dynamics.ipynb index e292630b4..c487e3899 100644 --- a/docs/usage/dynamics.ipynb +++ b/docs/usage/dynamics.ipynb @@ -113,6 +113,7 @@ }, "outputs": [], "source": [ + "%config InlineBackend.figure_formats = ['svg']\n", "import logging\n", "import warnings\n", "\n", diff --git a/docs/usage/dynamics/analytic-continuation.ipynb b/docs/usage/dynamics/analytic-continuation.ipynb index b7b695601..7b94fd021 100644 --- a/docs/usage/dynamics/analytic-continuation.ipynb +++ b/docs/usage/dynamics/analytic-continuation.ipynb @@ -108,6 +108,7 @@ }, "outputs": [], "source": [ + "%config InlineBackend.figure_formats = ['svg']\n", "import warnings\n", "\n", "import sympy as sp\n", diff --git a/docs/usage/dynamics/custom.ipynb b/docs/usage/dynamics/custom.ipynb index 644a8ffff..ac3291c0a 100644 --- a/docs/usage/dynamics/custom.ipynb +++ b/docs/usage/dynamics/custom.ipynb @@ -76,6 +76,7 @@ }, "outputs": [], "source": [ + "%config InlineBackend.figure_formats = ['svg']\n", "from __future__ import annotations\n", "\n", "import graphviz\n", diff --git a/docs/usage/interactive.ipynb b/docs/usage/interactive.ipynb index 895def82a..3649e82ed 100644 --- a/docs/usage/interactive.ipynb +++ b/docs/usage/interactive.ipynb @@ -479,6 +479,7 @@ }, "outputs": [], "source": [ + "%config InlineBackend.figure_formats = ['svg']\n", "import matplotlib.pyplot as plt\n", "import mpl_interactions.ipyplot as iplt\n", "\n", diff --git a/docs/usage/symplot.ipynb b/docs/usage/symplot.ipynb index 68c01ca44..71a8c5ad2 100644 --- a/docs/usage/symplot.ipynb +++ b/docs/usage/symplot.ipynb @@ -188,6 +188,7 @@ }, "outputs": [], "source": [ + "%config InlineBackend.figure_formats = ['svg']\n", "import matplotlib.pyplot as plt\n", "import mpl_interactions.ipyplot as iplt\n", "import numpy as np\n",