We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e8fa280 commit 445c3aaCopy full SHA for 445c3aa
1 file changed
src/pathpyG/visualisations/plot_function.py
@@ -95,15 +95,15 @@ def is_backend(backend: str) -> bool:
95
96
# supported file formats
97
FORMATS: dict = {
98
- ".html": Backends.d3js,
99
- ".tex": Backends.tikz,
100
- ".pdf": Backends.tikz,
101
- ".svg": Backends.tikz,
102
- ".png": Backends.matplotlib,
103
- ".jpg": Backends.matplotlib,
104
- ".jpeg": Backends.matplotlib,
105
- ".mp4": Backends.manim,
106
- ".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,
107
}
108
109
# Supported Plot Classes
0 commit comments