diff --git a/package.yaml b/package.yaml
--- a/package.yaml
+++ b/package.yaml
@@ -1,50 +1,50 @@
-name: pandoc-pyplot
-version: '1.0.2.0'
-github: "LaurentRDC/pandoc-pyplot"
-license: MIT
-author: "Laurent P. René de Cotret"
-maintainer: "Laurent P. René de Cotret"
-synopsis: A Pandoc filter for including figures generated from Matplotlib
-description: 
-  A pandoc filter for including figures generated from Matplotlib.
-  Keep the document and Python code in the same location. Output from Matplotlib
-  is captured and included as a figure.
-category: Documentation
-
-license-file: LICENSE.md
-
-extra-source-files:
-- CHANGELOG.md
-- LICENSE.md
-- package.yaml
-- README.md
-- stack.yaml
-
-ghc-options: -Wall -Wcompat
-
-library:
-  dependencies:
-  - base            > 4.8 && < 5
-  - directory
-  - filepath
-  - pandoc-types    > 1.12 && < 2
-  - temporary
-  - typed-process
-  - containers
-  source-dirs: src
-  exposed-modules:
-  - Text.Pandoc.Filter.Pyplot
-  - Text.Pandoc.Filter.Scripting
-
-executables:
-  pandoc-pyplot:
-    source-dirs: executable
-    main: Main.hs
-    dependencies:
-    - base                > 4.8  && < 5
-    - pandoc-pyplot
-    - pandoc-types        > 1.12 && < 2
-    ghc-options:
-    - -rtsopts
-    - -threaded
+name: pandoc-pyplot
+version: '1.0.3.0'
+github: "LaurentRDC/pandoc-pyplot"
+license: MIT
+author: "Laurent P. René de Cotret"
+maintainer: "Laurent P. René de Cotret"
+synopsis: A Pandoc filter for including figures generated from Matplotlib
+description: 
+  A pandoc filter for including figures generated from Matplotlib.
+  Keep the document and Python code in the same location. Output from Matplotlib
+  is captured and included as a figure.
+category: Documentation
+
+license-file: LICENSE.md
+
+extra-source-files:
+- CHANGELOG.md
+- LICENSE.md
+- package.yaml
+- README.md
+- stack.yaml
+
+ghc-options: -Wall -Wcompat
+
+library:
+  dependencies:
+  - base            > 4 && < 5
+  - directory
+  - filepath
+  - pandoc-types    > 1.12 && < 2
+  - temporary
+  - typed-process
+  - containers
+  source-dirs: src
+  exposed-modules:
+  - Text.Pandoc.Filter.Pyplot
+  - Text.Pandoc.Filter.Scripting
+
+executables:
+  pandoc-pyplot:
+    source-dirs: executable
+    main: Main.hs
+    dependencies:
+    - base                > 4 && < 5
+    - pandoc-pyplot
+    - pandoc-types        > 1.12 && < 2
+    ghc-options:
+    - -rtsopts
+    - -threaded
     - -with-rtsopts=-N
diff --git a/pandoc-pyplot.cabal b/pandoc-pyplot.cabal
--- a/pandoc-pyplot.cabal
+++ b/pandoc-pyplot.cabal
@@ -4,10 +4,10 @@
 --
 -- see: https://github.com/sol/hpack
 --
--- hash: 563259592becbb4f2496b0f914f546163be046510966e163f71175faa94504ad
+-- hash: 25fd8ea89e42939262b70218fe5deda1f7e6afceb3614082738bee06ed427a51
 
 name:           pandoc-pyplot
-version:        1.0.2.0
+version:        1.0.3.0
 synopsis:       A Pandoc filter for including figures generated from Matplotlib
 description:    A pandoc filter for including figures generated from Matplotlib. Keep the document and Python code in the same location. Output from Matplotlib is captured and included as a figure.
 category:       Documentation
@@ -39,7 +39,7 @@
       src
   ghc-options: -Wall -Wcompat
   build-depends:
-      base >4.8 && <5
+      base >4 && <5
     , containers
     , directory
     , filepath
@@ -56,7 +56,7 @@
       executable
   ghc-options: -Wall -Wcompat -rtsopts -threaded -with-rtsopts=-N
   build-depends:
-      base >4.8 && <5
+      base >4 && <5
     , pandoc-pyplot
     , pandoc-types >1.12 && <2
   default-language: Haskell2010
diff --git a/src/Text/Pandoc/Filter/Pyplot.hs b/src/Text/Pandoc/Filter/Pyplot.hs
--- a/src/Text/Pandoc/Filter/Pyplot.hs
+++ b/src/Text/Pandoc/Filter/Pyplot.hs
@@ -23,6 +23,7 @@
 
 import           Control.Monad                  ((>=>))
 import qualified Data.Map.Strict                as M
+import           Data.Monoid                    ((<>))
 import           System.Directory               (doesDirectoryExist)
 import           System.FilePath                (isValid, replaceExtension, takeDirectory)
 
@@ -147,4 +148,4 @@
 -- | Walk over an entire Pandoc document, changing appropriate code blocks
 -- into figures.
 plotTransform :: Pandoc -> IO Pandoc
-plotTransform = walkM makePlot
+plotTransform = walkM makePlot
diff --git a/src/Text/Pandoc/Filter/Scripting.hs b/src/Text/Pandoc/Filter/Scripting.hs
--- a/src/Text/Pandoc/Filter/Scripting.hs
+++ b/src/Text/Pandoc/Filter/Scripting.hs
@@ -24,7 +24,7 @@
 import System.IO.Temp       (getCanonicalTemporaryDirectory)
 import System.Process.Typed (runProcess, shell)
 
-import Data.Monoid          (Any(..))
+import Data.Monoid          (Any(..), (<>))
 
 -- | String representation of a Python script
 type PythonScript = String
@@ -65,4 +65,4 @@
         ]
     where
         scriptLines = lines script
-        anyOf xs = getAny $ mconcat $ Any <$> xs
+        anyOf xs = getAny $ mconcat $ Any <$> xs
