Creates scatter, line, contour, raster, barplots and boxplots, histograms, density plots. Composite figure of multiple plots.
Renders to
- java Graphics2D
- PDF/SVG/EPS (via VectorGraphics2D)
- SVG (via ScalaTags, both in browser or on jvm)
- Html5 Canvas (scala-js)
See the documentation website at https://pityka.github.io/nspl/ .
This library is built for Scala 2.13 and Scala 3.2.
Maven coordinates:
- For jvm:
libraryDependencies += "io.github.pityka" %% "nspl-awt" % "0.0.???"
- For canvas (Scala.js):
libraryDependencies += "io.github.pityka" %% "nspl-canvas-js" % "0.0.???"
nspl uses the recommended versioning scheme enforced with https://github.com/scalacenter/sbt-version-policy.
The website is built with hugo and the hugo-book theme.
The theme is a git submodule. It must be initialized.
git submodule update --init
Create and serve the site with:
sbt docs/mdoc docs/unidoc && cd website && hugo