question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

HoloViews Cheat Sheet

See original GitHub issue

The idea of a HoloViews cheat sheet has cropped up on a number of occasions but we haven’t raised it as an official issues. I think it’s a great idea, which could be leveraged in two forms 1) the actual condensed cheat sheet 2) a more plotting centric user guide. To start with I’d like brainstorm sections and specific items such a cheat sheet might include, that might look something like this:

Operating on the data

  • sorting
  • selecting
  • aggregate

Plotting

  • Labeling axes (Dimension labels)
  • Setting axis ranges (.redim.range, and soon range padding)
  • Mapping visual attributes (Cycle, cmap, *_index, and soon ops)

Issue Analytics

  • State:open
  • Created 6 years ago
  • Reactions:8
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
jbednarcommented, Sep 21, 2021

Not that I’ve seen, but I’d sure be happy to see one! I’d rather see one first for hvPlot, then for HoloViews…

2reactions
ea42ghcommented, Mar 5, 2018

Re Plotting, for now in no particular order (mostly copied from headers in github.com/ea42gh/HoloviewsPlayground/CurvesAndPaths.ipynb)

  • datasources (e.g., dataframe, numpy array, xarray, sqlite, dask…)
    • Data arguments for Element constructors
  • Figure Size And Layout
    • ways to organize figures: cols(), grid…, HoloMaps/DynamicMaps, Tabs
  • Combining elements into figures
  • Colors and Color Cycles, muted_alpha
  • Labels, Legends and Titles (including adding an HTML div)
  • Axes
    • Ticks (number of ticks, lists, Tick label formating)
    • controling axes * hv.Dimensions to control axis labels, to control axis independence * for multiple plots axiswise * for multiple displays framewise
    • Twin Axes
  • ColorMapping Elements * images with contours and colorbar
  • operations (e.g., datashader)
  • Hover, custom hover, hover+datashader
  • Dynamic Plots
    • holomaps, dynamicmaps
    • scrubber
    • widgets
    • streams
    • buffers, pipes, …
  • Extending plot types
    • functions that return plots that work for both bokeh and matplotlib (use group labels to allow caller to modify options)
    • operations
    • adding a new Element class

I’ll come back and add as I get time… Any ideas on how to organize this so it’s useful? Is there an easy way to share some notebooks?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Holoviews cheatsheet - Jupyter Notebooks Gallery
A gallery of the most interesting jupyter notebooks online.
Read more >
Styling Plots - HoloViews
In this guide we will review how to apply these common styling options to plots. Once you know how to use these, you...
Read more >
HoloViews Cheat Sheet · Issue #2395 - GitHub
The idea of a HoloViews cheat sheet has cropped up on a number of occasions but we haven't raised it as an official...
Read more >
Ray Bell - Hvplot/holoviews/geoviews - Google Sites
Holoviews · from holoviews.operation.datashader import rasterize · import holoviews as hv · hv.element.tiles.EsriImagery() · hv.element.tiles.EsriImagery().opts( ...
Read more >
Plotting — hvPlot 0.8.2 documentation
As we discovered in the Introduction, HoloViews allows plotting a variety of data types. Here we will use the sample data module and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found