Step#

Download this notebook from GitHub (right-click to download).


import hvplot.pandas  # noqa

step can be used pretty much anytime line might be used and has many of the same options available.

from bokeh.sampledata.degrees import data as deg
deg.sample(n=5)
Year Agriculture Architecture Art and Performance Biology Business Communications and Journalism Computer Science Education Engineering English Foreign Languages Health Professions Math and Statistics Physical Sciences Psychology Public Administration Social Sciences and History
39 2009 48.667224 43.348921 61.0 58.489583 48.840474 62.8 18.1 79.532909 16.8 67.969792 69.3 85.1 43.3 40.7 77.1 82.0 49.4
29 1999 42.887202 38.631529 59.2 58.228823 49.810208 61.2 28.1 75.838162 18.6 67.820221 70.9 83.5 47.8 40.2 76.5 81.1 51.2
26 1996 38.969775 35.926485 58.6 53.789880 48.647393 58.7 27.1 75.035199 16.7 66.437779 69.7 81.3 46.4 37.3 73.9 79.8 48.7
14 1984 31.092947 35.453083 62.1 47.669083 45.124030 59.1 36.8 75.869116 13.5 65.749862 72.1 85.1 46.2 28.0 68.2 75.9 44.1
32 2002 47.134658 41.132951 60.9 61.895128 50.552335 63.7 27.0 78.644244 18.7 68.829960 70.5 85.8 45.7 41.1 77.7 81.3 51.5
deg.hvplot.step(x='Year', y=['Art and Performance', 'Business', 'Biology', 'Education', 'Computer Science'], 
                value_label='% of Degrees Earned by Women', legend='top', height=500, width=620)
This web page was generated from a Jupyter notebook and not all interactivity will work on this website. Right click to download and run locally for full Python-backed interactivity.

Download this notebook from GitHub (right-click to download).