diff --git a/plots.cabal b/plots.cabal
--- a/plots.cabal
+++ b/plots.cabal
@@ -1,6 +1,6 @@
 name:                plots
-version:             0.1.1.2
-synopsis:            Diagrams based plotting library.
+version:             0.1.1.3
+synopsis:            Diagrams based plotting library
 homepage:            http://github.com/cchalmers/plots
 license:             BSD3
 license-file:        LICENSE
@@ -10,11 +10,11 @@
 stability:           Experimental
 category:            Graphics
 build-type:          Simple
-cabal-version:       >=1.18
+cabal-version:       1.18
 extra-source-files:  README.md diagrams/*.svg
 extra-doc-files:     diagrams/*.svg
 description:         Diagrams based plotting library.
-tested-with: GHC==8.0.2, GHC==7.10.3, GHC==7.8.4
+tested-with: GHC==9.2.1, GHC==8.8.2, GHC==8.0.2, GHC==7.10.3, GHC==7.8.4
 
 source-repository head
  type:     git
@@ -52,18 +52,18 @@
     colour,
     containers    >= 0.3 && < 0.7,
     data-default  >= 0.5 && < 0.8,
-    diagrams-core >= 1.3 && < 1.5,
-    diagrams-lib  >= 1.3 && < 1.5,
+    diagrams-core >= 1.3 && < 1.6,
+    diagrams-lib  >= 1.3 && < 1.6,
     directory,
     distributive,
     transformers,
     filepath,
     fingertree,
-    hashable      >= 1.1 && < 1.3,
-    lens          >= 4.6 && < 5.0,
+    hashable      >= 1.1 && < 1.4,
+    lens          >= 4.6 && < 5.2,
     linear        >= 1.2 && < 2.0,
-    monoid-extras >= 0.3 && < 0.6,
-    mtl           >= 1.0 && < 3.2,
+    monoid-extras >= 0.3 && < 0.7,
+    mtl           >= 1.0 && < 2.3,
     optparse-applicative,
     statistics,
     process,
diff --git a/src/Diagrams/Coordinates/Isomorphic.hs b/src/Diagrams/Coordinates/Isomorphic.hs
--- a/src/Diagrams/Coordinates/Isomorphic.hs
+++ b/src/Diagrams/Coordinates/Isomorphic.hs
@@ -38,6 +38,7 @@
 
 import           Control.Lens
 import           Data.Complex
+import           Data.Kind
 import           Data.Typeable
 
 import           Diagrams.Prelude
@@ -46,7 +47,7 @@
 
 -- | Umbrella class giving everything needed for working in the space. This is
 --   basically 'V2' or 'V3' from "linear".
-type Euclidean (v :: * -> *) = (HasLinearMap v, HasIndexedBasis v, Metric v)
+type Euclidean (v :: Type -> Type) = (HasLinearMap v, HasIndexedBasis v, Metric v)
 
 -- vector like ---------------------------------------------------------
 
diff --git a/src/Plots/Axis.hs b/src/Plots/Axis.hs
--- a/src/Plots/Axis.hs
+++ b/src/Plots/Axis.hs
@@ -75,6 +75,7 @@
 import           Control.Monad.State
 import           Data.Complex
 import           Data.Default
+import           Data.Kind
 import           Data.Typeable
 
 import           Diagrams.Coordinates.Polar
@@ -174,7 +175,7 @@
 
 -- | This family is used so that we can say (Axis Polar) but use V2 for the
 --   underlying diagram.
-type family BaseSpace (c :: * -> *) :: * -> *
+type family BaseSpace (c :: Type -> Type) :: Type -> Type
 
 type instance BaseSpace V2      = V2
 type instance BaseSpace Complex = V2
diff --git a/src/Plots/Style.hs b/src/Plots/Style.hs
--- a/src/Plots/Style.hs
+++ b/src/Plots/Style.hs
@@ -529,7 +529,7 @@
   each = cmap . each
 
 instance Ixed ColourMap where
-  ix = ixColourR
+  ix x = ixColourR x
 
 -- | 'Nothing' == 'transparent'
 instance At ColourMap where
diff --git a/src/Plots/Types/HeatMap.hs b/src/Plots/Types/HeatMap.hs
--- a/src/Plots/Types/HeatMap.hs
+++ b/src/Plots/Types/HeatMap.hs
@@ -454,7 +454,7 @@
         Nothing     -> hMatrix
 
   -- XXX make better
-  defLegendPic sty HeatMap {..} = square 5 # applyAreaStyle sty
+  defLegendPic sty HeatMap {} = square 5 # applyAreaStyle sty
 
 scaleV :: (Additive v, Fractional n) => v n -> Transformation v n
 scaleV v = fromLinear f f
diff --git a/src/Plots/Types/Pie.hs b/src/Plots/Types/Pie.hs
--- a/src/Plots/Types/Pie.hs
+++ b/src/Plots/Types/Pie.hs
@@ -102,7 +102,7 @@
         | sOffset == 0 = zero
         | otherwise    = sOffset *^ fromDir (rotate (sWidth ^/ 2) sDir)
 
-  defLegendPic sty Wedge {..}
+  defLegendPic sty Wedge {}
       = square 5 # applyAreaStyle sty
 
 -- | Create a pie wedge with unit radius, starting at direction @d@ with
diff --git a/src/Plots/Types/Scatter.hs b/src/Plots/Types/Scatter.hs
--- a/src/Plots/Types/Scatter.hs
+++ b/src/Plots/Types/Scatter.hs
@@ -129,7 +129,7 @@
         | otherwise = fromVertices points # applyLineStyle sty
       points = map (specPoint s . oPos) oData
 
-  defLegendPic sty (ScatterPlot (ScatterOptions {..})) =
+  defLegendPic sty (ScatterPlot (ScatterOptions {})) =
     sty ^. plotMarker
       & applyMarkerStyle sty
 
