packages feed

plot-light-0.2.7: plot-light.cabal

name:                plot-light
version:             0.2.7
synopsis:            A lightweight plotting library, exporting to SVG
description:         This library provides drawing and plotting datastructures and functions; it is aimed in particular at scientific visualization, but it also exposes its plotting primitives and a general purpose 2D geometry library.
homepage:            https://github.com/ocramz/plot-light
license:             BSD3
license-file:        LICENSE
author:              Marco Zocca
maintainer:          zocca marco gmail
copyright:           2017 Marco Zocca
category:            Graphics
build-type:          Simple
extra-source-files:  README.md
extra-doc-files:     doc/fig/*.png
cabal-version:       >=1.18
tested-with:         GHC == 8.0.2
data-dir:            data
data-files:          forex
                     heatmap-bw

library
  default-language:    Haskell2010
  ghc-options:         -Wall
  hs-source-dirs:      src
  exposed-modules:     Graphics.Rendering.Plot.Light
                       Data.TimeSeries
                       Graphics.Rendering.Plot.Light.PlotTypes
  other-modules:       Graphics.Rendering.Plot.Light.Internal
                       Graphics.Rendering.Plot.Light.PlotTypes.Heatmap
                       Graphics.Rendering.Plot.Light.PlotTypes.Scatter
                       Graphics.Rendering.Plot.Light.PlotTypes.Histogram
                       Graphics.Rendering.Plot.Light.PlotTypes.TimeSeries
                       Graphics.Rendering.Plot.Light.PlotTypes.TimeSeries.Candlestick
                       Graphics.Rendering.Plot.Light.Internal.Geometry
                       Graphics.Rendering.Plot.Light.Internal.Utils
                       Data.Parsers
  build-depends:       base >= 4.7 && < 5
                     , mtl
                     , time
                     , scientific
                     , text
                     , colour
                     , palette
                     , blaze-svg
                     , attoparsec
                     -- , hspec    
                     -- , QuickCheck
                                          

executable scatter
  default-language:    Haskell2010
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N
  hs-source-dirs:      app/scatter
  main-is:             Main.hs
  build-depends:       base
                     , plot-light
                     , attoparsec
                     , text
                     , colour
                     , blaze-svg
                     , scientific
                                          
executable timeseries
  default-language:    Haskell2010
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N
  hs-source-dirs:      app/timeseries
  main-is:             Main.hs
  build-depends:       base
                     , plot-light
                     , attoparsec
                     , attoparsec-time
                     , time
                     , text
                     , colour
                     , blaze-svg
                     , scientific

executable heatmap
  default-language:    Haskell2010
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N
  hs-source-dirs:      app/heatmap
  main-is:             Main.hs
  build-depends:       base
                     , plot-light
                     , attoparsec
                     , attoparsec-time
                     , time
                     , text
                     , colour
                     , palette
                     , blaze-svg
                     , scientific                     

test-suite spec
  default-language:    Haskell2010
  ghc-options:         -Wall
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  main-is:             Spec.hs
  other-modules:       LibSpec
  build-depends:       base
                     , plot-light
                     , hspec
                     , QuickCheck

source-repository head
  type:     git
  location: https://github.com/ocramz/plot-light