summaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Filter/Pyplot/FigureSpec.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Text/Pandoc/Filter/Pyplot/FigureSpec.hs')
-rw-r--r--src/Text/Pandoc/Filter/Pyplot/FigureSpec.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Text/Pandoc/Filter/Pyplot/FigureSpec.hs b/src/Text/Pandoc/Filter/Pyplot/FigureSpec.hs
index 1a4148a..991060a 100644
--- a/src/Text/Pandoc/Filter/Pyplot/FigureSpec.hs
+++ b/src/Text/Pandoc/Filter/Pyplot/FigureSpec.hs
@@ -4,7 +4,7 @@
{-|
Module : $header$
Copyright : (c) Laurent P René de Cotret, 2019
-License : MIT
+License : GNU GPL, version 2 or above
Maintainer : laurent.decotret@outlook.com
Stability : internal
Portability : portable
@@ -183,7 +183,7 @@ capturePlotly :: RenderingFunc
capturePlotly fname' _ _ _ = [st|
import plotly.graph_objects as go
__current_plotly_figure = next(obj for obj in globals().values() if type(obj) == go.Figure)
-__current_plotly_figure.write_image("#{fname'}")
+__current_plotly_figure.write_image(r"#{fname'}")
|]