@hackage ihaskell-hvega0.5.0.3

IHaskell display instance for hvega types.

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.