plots 0.1.1.4 → 0.1.1.5
raw patch · 3 files changed
+4/−1 lines, 3 filesdep ~data-defaultdep ~hashabledep ~lensPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
Dependency ranges changed: data-default, hashable, lens
API changes (from Hackage documentation)
- Plots.Name: namedSize2D :: forall n_atqc. Lens' (PlotName n_atqc) (SizeSpec V2 n_atqc)
+ Plots.Name: namedSize2D :: forall n_avGp. Lens' (PlotName n_avGp) (SizeSpec V2 n_avGp)
- Plots.Name: namedT2 :: forall n_atqc. Lens' (PlotName n_atqc) (T2 n_atqc)
+ Plots.Name: namedT2 :: forall n_avGp. Lens' (PlotName n_avGp) (T2 n_avGp)
- Plots.Name: plotName :: forall n_atqc. Lens' (PlotName n_atqc) String
+ Plots.Name: plotName :: forall n_avGp. Lens' (PlotName n_avGp) String
- Plots.Types: specBounds :: forall v_aXZf n_aXZg. Lens' (AxisSpec v_aXZf n_aXZg) (v_aXZf (n_aXZg, n_aXZg))
+ Plots.Types: specBounds :: forall v_a1ahY n_a1ahZ. Lens' (AxisSpec v_a1ahY n_a1ahZ) (v_a1ahY (n_a1ahZ, n_a1ahZ))
- Plots.Types: specColourMap :: forall v_aXZf n_aXZg. Lens' (AxisSpec v_aXZf n_aXZg) ColourMap
+ Plots.Types: specColourMap :: forall v_a1ahY n_a1ahZ. Lens' (AxisSpec v_a1ahY n_a1ahZ) ColourMap
- Plots.Types: specScale :: forall v_aXZf n_aXZg. Lens' (AxisSpec v_aXZf n_aXZg) (v_aXZf LogScale)
+ Plots.Types: specScale :: forall v_a1ahY n_a1ahZ. Lens' (AxisSpec v_a1ahY n_a1ahZ) (v_a1ahY LogScale)
- Plots.Types: specTrans :: forall v_aXZf n_aXZg. Lens' (AxisSpec v_aXZf n_aXZg) (Transformation v_aXZf n_aXZg)
+ Plots.Types: specTrans :: forall v_a1ahY n_a1ahZ. Lens' (AxisSpec v_a1ahY n_a1ahZ) (Transformation v_a1ahY n_a1ahZ)
Files
- plots.cabal +1/−1
- src/Diagrams/Coordinates/Polar.hs +1/−0
- src/Plots/Axis/Scale.hs +2/−0
plots.cabal view
@@ -1,5 +1,5 @@ name: plots-version: 0.1.1.4+version: 0.1.1.5 synopsis: Diagrams based plotting library homepage: http://github.com/cchalmers/plots license: BSD3
src/Diagrams/Coordinates/Polar.hs view
@@ -7,6 +7,7 @@ {-# LANGUAGE MultiParamTypeClasses #-} {-# LANGUAGE TemplateHaskell #-} {-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE TypeOperators #-} ----------------------------------------------------------------------------- -- | -- Module : Diagrams.Coordinates.Spherical
src/Plots/Axis/Scale.hs view
@@ -191,7 +191,9 @@ -- bounds are only enlarged when min/max bound wasn't set l' = l & whenever (isNothing asBoundMin) (subtract x) & whenever (asLogScale == LogAxis) (max 1e-6)+ & min (u - 1e-6) u' = u & whenever (isNothing asBoundMax) (+ x)+ & max (l + 1e-6) -- amount to enlarge axis by x = case asEnlarge of