pityka / nspl   0.10.0

Website GitHub

scala plotting (charting, graphing) library

Scala versions: 3.x 2.13
Scala.js versions: 1.x

documentation

2d Plotting Library for Scala and Scala.js

Creates scatter, line, contour, raster, barplots and boxplots, histograms, density plots. Composite figure of multiple plots.

Renders to

Usage

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.???"

Version policy

nspl uses the recommended versioning scheme enforced with https://github.com/scalacenter/sbt-version-policy.

How to build the website

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