From 68e40d79eb15a1d67e281ee3097d5580c0dabba2 Mon Sep 17 00:00:00 2001 From: Moritz Lampert Date: Fri, 28 Nov 2025 16:17:48 +0000 Subject: [PATCH] fix --- src/pathpyG/visualisations/plot_function.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/pathpyG/visualisations/plot_function.py b/src/pathpyG/visualisations/plot_function.py index 2789068e..3e14f38c 100644 --- a/src/pathpyG/visualisations/plot_function.py +++ b/src/pathpyG/visualisations/plot_function.py @@ -95,15 +95,15 @@ def is_backend(backend: str) -> bool: # supported file formats FORMATS: dict = { - ".html": Backends.d3js, - ".tex": Backends.tikz, - ".pdf": Backends.tikz, - ".svg": Backends.tikz, - ".png": Backends.matplotlib, - ".jpg": Backends.matplotlib, - ".jpeg": Backends.matplotlib, - ".mp4": Backends.manim, - ".gif": Backends.manim, + ".html": Backends.d3js.value, + ".tex": Backends.tikz.value, + ".pdf": Backends.tikz.value, + ".svg": Backends.tikz.value, + ".png": Backends.matplotlib.value, + ".jpg": Backends.matplotlib.value, + ".jpeg": Backends.matplotlib.value, + ".mp4": Backends.manim.value, + ".gif": Backends.manim.value, } # Supported Plot Classes