Skip to content

Latest commit

 

History

History
21 lines (11 loc) · 2.03 KB

README.md

File metadata and controls

21 lines (11 loc) · 2.03 KB

Notes on and recipes for working with the PyViz universe

PyViz is an ecosystem of Python tools for advanced data visualization, featuring high-level libraries such as HoloViews and GeoViews that translate your data from numpy, pandas or xarray into matplotlib or bokeh (or other) graphs that can be explored interactively using e.g. Panel. I like it because unlike e.g. matplotlib ('imperative' visualization), it allows for a clear separation between data and visual appearance ('declarative visualization'). All you do is pass the right metadata; exploring different arrangements, visualizations and ways to facet the data becomes a breeze.

In this repository, I am collecting some notes from my own experiences that may help one or the other. This is ongoing work.

You may also find some hopefully useful/instructive functions in my utils' holoviews module.

Disclaimer: This is not official PyViz documentation. When in doubt, refer to their website or any of their other channels. PyViz is evolving rapidly and so information given here may become outdated.

Contents, in somewhat random order, and not necessarily up to date relative to whats in notebooks:

  1. Faceting data and styling by attribute

  2. Switching between plotting backends

  3. Data formats and declaration of dimensions

  4. Setting style defaults

  5. Let's make our own element or modify an existing one such as hv.Curve