Skip to content

Instantly share code, notes, and snippets.

@robdmc
Last active January 30, 2021 19:34
Show Gist options
  • Save robdmc/5a795e497e3ea6e9bf408a1635694067 to your computer and use it in GitHub Desktop.
Save robdmc/5a795e497e3ea6e9bf408a1635694067 to your computer and use it in GitHub Desktop.
Holoviews stacked area plot

Test Readme. f

c_list = []
for col in df.columns[1:]:
c = hv.Area((df.date, df[col]/1e6), 'Date', 'Active Pipeline ($M)', label=col).opts(color=hv.Cycle('Set1'))
c_list.append(c)
hv.Area.stack(hv.Overlay(c_list))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment