summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Text/Pandoc/Filter/Pyplot.hs2
-rw-r--r--src/Text/Pandoc/Filter/Pyplot/Configuration.hs2
-rw-r--r--src/Text/Pandoc/Filter/Pyplot/FigureSpec.hs4
-rw-r--r--src/Text/Pandoc/Filter/Pyplot/Internal.hs2
-rw-r--r--src/Text/Pandoc/Filter/Pyplot/Scripting.hs2
-rw-r--r--src/Text/Pandoc/Filter/Pyplot/Types.hs2
6 files changed, 7 insertions, 7 deletions
diff --git a/src/Text/Pandoc/Filter/Pyplot.hs b/src/Text/Pandoc/Filter/Pyplot.hs
index bac5092..dc14c50 100644
--- a/src/Text/Pandoc/Filter/Pyplot.hs
+++ b/src/Text/Pandoc/Filter/Pyplot.hs
@@ -5,7 +5,7 @@
Module : $header$
Description : Pandoc filter to create Matplotlib/Plotly figures from code blocks
Copyright : (c) Laurent P René de Cotret, 2019
-License : MIT
+License : GNU GPL, version 2 or above
Maintainer : laurent.decotret@outlook.com
Stability : stable
Portability : portable
diff --git a/src/Text/Pandoc/Filter/Pyplot/Configuration.hs b/src/Text/Pandoc/Filter/Pyplot/Configuration.hs
index 7b21231..7e9fec3 100644
--- a/src/Text/Pandoc/Filter/Pyplot/Configuration.hs
+++ b/src/Text/Pandoc/Filter/Pyplot/Configuration.hs
@@ -2,7 +2,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
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'}")
|]
diff --git a/src/Text/Pandoc/Filter/Pyplot/Internal.hs b/src/Text/Pandoc/Filter/Pyplot/Internal.hs
index f61d2a4..da0d44f 100644
--- a/src/Text/Pandoc/Filter/Pyplot/Internal.hs
+++ b/src/Text/Pandoc/Filter/Pyplot/Internal.hs
@@ -2,7 +2,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
diff --git a/src/Text/Pandoc/Filter/Pyplot/Scripting.hs b/src/Text/Pandoc/Filter/Pyplot/Scripting.hs
index 0da2bb2..574ef3a 100644
--- a/src/Text/Pandoc/Filter/Pyplot/Scripting.hs
+++ b/src/Text/Pandoc/Filter/Pyplot/Scripting.hs
@@ -3,7 +3,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
diff --git a/src/Text/Pandoc/Filter/Pyplot/Types.hs b/src/Text/Pandoc/Filter/Pyplot/Types.hs
index af2571a..a0ab8f5 100644
--- a/src/Text/Pandoc/Filter/Pyplot/Types.hs
+++ b/src/Text/Pandoc/Filter/Pyplot/Types.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