ihaskell-hvega: IHaskell display instance for hvega types.

[ bsd3, development, library ] [ Propose Tags ] [ Report a vulnerability ]

Support Vega-Lite visualizations in IHaskell notebooks.


[Skip to Readme]

Modules

[Last Documentation]

  • IHaskell
    • Display
      • IHaskell.Display.Hvega

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.1.0.0, 0.1.0.1, 0.1.0.3, 0.2.0.0, 0.2.0.1, 0.2.0.2, 0.2.1.0, 0.2.2.0, 0.2.3.0, 0.2.4.0, 0.2.5.0, 0.2.6.0, 0.3.0.0, 0.3.1.0, 0.3.2.0, 0.4.0.0, 0.5.0.0, 0.5.0.1, 0.5.0.2, 0.5.0.3, 0.5.0.4, 0.5.0.5
Change log CHANGELOG.md
Dependencies aeson (>=0.11 && <1.6), base (>=4.7 && <5), hvega (<0.11), ihaskell (>=0.9.1 && <0.11), text (>=1.2 && <1.3) [details]
License BSD-3-Clause
Copyright 2018-2020 Douglas Burke
Author Douglas Burke
Maintainer dburke.gw@gmail.com
Category Development
Home page https://github.com/DougBurke/hvega
Bug tracker https://github.com/DougBurke/hvega/issues
Source repo head: git clone https://github.com/DougBurke/hvega
Uploaded by DouglasBurke at 2020-06-10T17:32:13Z
Distributions LTSHaskell:0.5.0.5, Stackage:0.5.0.5
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 6798 total (77 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2020-06-10 [all 2 reports]

Readme for ihaskell-hvega-0.3.1.0

[back to package description]

ihaskell-hvega

View Vega-Lite visualizations created by the hvega package in IHaskell notebooks.

When used with Jupyter notebooks it relies on Vega-Embed to do the hard work of parsing and displaying the Vega Lite specification.

If run in a Jupyter Lab then the native Vega support is used for displaying the Vega Lite specifications. I recommend using Tweag I/O's jupyterWith environment to set this up, and have a rudimentary shell.nix example in the notebooks directory.

This code is released under the BSD3 license.

Current status

The display should work correctly when using the IHaskell notebook interface, supporting features included in Vega-Lite 4 (this is new to version 0.3, as earlier versions were limited to features in Vega-Lite 3).

Support for the Jupyter lab interface is very limited since there is a curious combination of IHaskell and Jupyter lab issues (including whether you are using v1.2 or v2). This is very annoying.