diff --git a/README.md b/README.md
--- a/README.md
+++ b/README.md
@@ -88,77 +88,77 @@
 [![quiver][img_quiver]][url_quiver]
 [![pie][img_pie]][url_pie]
 
-[img_quadratic]: https://i.imgur.com/E4AafPD.png "quadratic"
-[url_quadratic]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L248
-[img_labelled-histogram]: https://i.imgur.com/lCVEpge.png "labelled-histogram"
-[url_labelled-histogram]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L229
+[img_violinplot]: https://i.imgur.com/iBOfnuL.png "violinplot"
+[url_violinplot]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L301
 [img_contour]: https://i.imgur.com/KoAIf9Z.png "contour"
-[url_contour]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L227
-[img_eventplot]: https://i.imgur.com/UMT1yku.png "eventplot"
-[url_eventplot]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L285
-[img_bivariateNormal]: https://i.imgur.com/fTSfEzo.png "bivariateNormal"
-[url_bivariateNormal]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L470
-[img_legend]: https://i.imgur.com/X46KiUJ.png "legend"
-[url_legend]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L275
-[img_streamplot]: https://i.imgur.com/IfHLmkC.png "streamplot"
-[url_streamplot]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L587
-[img_scatter]: https://i.imgur.com/dceKS4I.png "scatter"
-[url_scatter]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L222
-[img_hist2DLog]: https://i.imgur.com/2fL8oEX.png "hist2DLog"
-[url_hist2DLog]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L280
-[img_cumulative]: https://i.imgur.com/u5I8NYF.png "cumulative"
-[url_cumulative]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L220
-[img_stacked]: https://i.imgur.com/rWIyizX.png "stacked"
-[url_stacked]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L528
-[img_images]: https://i.imgur.com/R1fhDXC.png "images"
-[url_images]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L487
-[img_errorbar]: https://i.imgur.com/gi0zEiz.png "errorbar"
-[url_errorbar]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L292
-[img_show-matrix]: https://i.imgur.com/ajY0A9l.png "show-matrix"
-[url_show-matrix]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L272
+[url_contour]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L225
+[img_tex]: https://i.imgur.com/bR8r579.png "tex"
+[url_tex]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L260
+[img_scatterhist]: https://i.imgur.com/9ZIVotE.png "scatterhist"
+[url_scatterhist]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L308
 [img_line-options]: https://i.imgur.com/Fahp7QA.png "line-options"
-[url_line-options]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L252
-[img_quiver-fancy]: https://i.imgur.com/NsOFHhx.png "quiver-fancy"
-[url_quiver-fancy]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L439
+[url_line-options]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L250
+[img_griddata]: https://i.imgur.com/SH83pJK.png "griddata"
+[url_griddata]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L605
+[img_pcolorlog]: https://i.imgur.com/ZLUoUqy.png "pcolorlog"
+[url_pcolorlog]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L498
+[img_cumulative]: https://i.imgur.com/u5I8NYF.png "cumulative"
+[url_cumulative]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L218
 [img_annotation]: https://i.imgur.com/9tdHiaT.png "annotation"
-[url_annotation]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L544
-[img_integral]: https://i.imgur.com/PkepIKR.png "integral"
-[url_integral]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L401
-[img_quiver]: https://i.imgur.com/TcayDLc.png "quiver"
-[url_quiver]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L428
-[img_projections]: https://i.imgur.com/IlK7Oy3.png "projections"
-[url_projections]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L250
+[url_annotation]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L542
+[img_hist2DLog]: https://i.imgur.com/2fL8oEX.png "hist2DLog"
+[url_hist2DLog]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L278
 [img_density]: https://i.imgur.com/KS2OhbH.png "density"
-[url_density]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L244
-[img_griddata]: https://i.imgur.com/SH83pJK.png "griddata"
-[url_griddata]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L607
+[url_density]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L242
+[img_line-function]: https://i.imgur.com/zkpfQqW.png "line-function"
+[url_line-function]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L244
+[img_boxplot]: https://i.imgur.com/KigvYSc.png "boxplot"
+[url_boxplot]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L295
+[img_show-matrix]: https://i.imgur.com/ajY0A9l.png "show-matrix"
+[url_show-matrix]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L270
 [img_hinton]: https://i.imgur.com/m9a4IwL.png "hinton"
-[url_hinton]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L385
-[img_scatterhist]: https://i.imgur.com/9ZIVotE.png "scatterhist"
-[url_scatterhist]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L310
-[img_violinplot]: https://i.imgur.com/iBOfnuL.png "violinplot"
-[url_violinplot]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L303
-[img_histMulti]: https://i.imgur.com/FxEI3EI.png "histMulti"
-[url_histMulti]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L339
-[img_spines]: https://i.imgur.com/BryQOY9.png "spines"
-[url_spines]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L357
-[img_corr]: https://i.imgur.com/GnBpDJL.png "corr"
-[url_corr]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L257
+[url_hinton]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L383
+[img_streamplot]: https://i.imgur.com/IfHLmkC.png "streamplot"
+[url_streamplot]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L585
 [img_pie]: https://i.imgur.com/ljgWXf6.png "pie"
-[url_pie]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L521
-[img_hists]: https://i.imgur.com/KurE2Sr.png "hists"
-[url_hists]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L376
-[img_tex]: https://i.imgur.com/bR8r579.png "tex"
-[url_tex]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L262
-[img_histogram]: https://i.imgur.com/X37Rmy4.png "histogram"
-[url_histogram]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L217
-[img_line-function]: https://i.imgur.com/zkpfQqW.png "line-function"
-[url_line-function]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L246
+[url_pie]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L519
+[img_corr]: https://i.imgur.com/GnBpDJL.png "corr"
+[url_corr]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L255
+[img_projections]: https://i.imgur.com/IlK7Oy3.png "projections"
+[url_projections]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L248
+[img_stacked]: https://i.imgur.com/rWIyizX.png "stacked"
+[url_stacked]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L526
 [img_density-bandwidth]: https://i.imgur.com/Qgjvrox.png "density-bandwidth"
-[url_density-bandwidth]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L241
-[img_boxplot]: https://i.imgur.com/KigvYSc.png "boxplot"
-[url_boxplot]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L297
+[url_density-bandwidth]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L239
+[img_bivariateNormal]: https://i.imgur.com/fTSfEzo.png "bivariateNormal"
+[url_bivariateNormal]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L468
+[img_histMulti]: https://i.imgur.com/FxEI3EI.png "histMulti"
+[url_histMulti]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L337
+[img_quadratic]: https://i.imgur.com/E4AafPD.png "quadratic"
+[url_quadratic]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L246
+[img_histogram]: https://i.imgur.com/X37Rmy4.png "histogram"
+[url_histogram]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L215
 [img_polar]: https://i.imgur.com/4DAOrF1.png "polar"
-[url_polar]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L455
-[img_pcolorlog]: https://i.imgur.com/ZLUoUqy.png "pcolorlog"
-[url_pcolorlog]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L500
+[url_polar]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L453
+[img_quiver]: https://i.imgur.com/TcayDLc.png "quiver"
+[url_quiver]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L426
+[img_quiver-fancy]: https://i.imgur.com/NsOFHhx.png "quiver-fancy"
+[url_quiver-fancy]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L437
+[img_spines]: https://i.imgur.com/BryQOY9.png "spines"
+[url_spines]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L355
+[img_errorbar]: https://i.imgur.com/gi0zEiz.png "errorbar"
+[url_errorbar]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L290
+[img_legend]: https://i.imgur.com/X46KiUJ.png "legend"
+[url_legend]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L273
+[img_integral]: https://i.imgur.com/PkepIKR.png "integral"
+[url_integral]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L399
+[img_scatter]: https://i.imgur.com/dceKS4I.png "scatter"
+[url_scatter]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L220
+[img_labelled-histogram]: https://i.imgur.com/lCVEpge.png "labelled-histogram"
+[url_labelled-histogram]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L227
+[img_eventplot]: https://i.imgur.com/UMT1yku.png "eventplot"
+[url_eventplot]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L283
+[img_hists]: https://i.imgur.com/KurE2Sr.png "hists"
+[url_hists]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L374
+[img_images]: https://i.imgur.com/R1fhDXC.png "images"
+[url_images]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L485
diff --git a/matplotlib.cabal b/matplotlib.cabal
--- a/matplotlib.cabal
+++ b/matplotlib.cabal
@@ -1,5 +1,5 @@
 name:                matplotlib
-version:             0.4.5
+version:             0.5.0
 synopsis:            Bindings to Matplotlib; a Python plotting library
 description:
     Matplotlib is probably the most full featured plotting library out there.
diff --git a/src/Graphics/Matplotlib/Internal.hs b/src/Graphics/Matplotlib/Internal.hs
--- a/src/Graphics/Matplotlib/Internal.hs
+++ b/src/Graphics/Matplotlib/Internal.hs
@@ -15,6 +15,7 @@
 import qualified Data.Sequence as S
 import Data.Sequence (Seq, (|>), (><))
 import Data.Maybe
+import Data.Monoid
 import GHC.Exts(toList)
 
 -- | A handy miscellaneous function to linearly map over a range of numbers in a given number of steps
@@ -29,6 +30,11 @@
   , mpPendingOption :: Maybe ([Option] -> MplotCommand)   -- ^ A pending computation that is affected by applied options
   , mpRest :: Seq MplotCommand  -- ^ Computations that follow the one that is pending
   }
+
+-- | Monoid instance for Matplotlib type
+instance Monoid Matplotlib where
+    mempty  = mp
+    mappend = (%)
 
 -- | A maplotlib command, right now we have a very shallow embedding essentially
 -- dealing in strings containing python code as well as the ability to load
