<jupyter_start><jupyter_text>URL: http://bokeh.pydata.org/en/latest/docs/gallery/step_chart.htmlMost examples work across multiple plotting backends, this example is also available for:* [Bokeh - step_chart example](../bokeh/step_chart.ipynb)<jupyter_code>import numpy as np
import holoviews as hv
hv.extension('matplotlib')<jupyter_output><empty_output><jupyter_text>Declare data<jupyter_code># build a dataset where multiple columns measure the same thing
stamp    = [.33, .33, .34, .37, .37, .37, .37, .39, .41, .42,
            .44, .44, .44, .45, .46, .49, .49]
postcard = [.20, .20, .21, .23, .23, .23, .23, .24, .26, .27,
            .28, .28, .29, .32, .33, .34, .35]

group = "U.S. Postage Rates (1999-2015)"
stamp    = hv.Curve(stamp, vdims='Rate per ounce', label='stamp', group=group)
postcard = hv.Curve(postcard, vdims='Rate per ounce', label='postcard', group=group)
postage = (stamp * postcard)<jupyter_output><empty_output><jupyter_text>Plot<jupyter_code>plot  = dict(interpolation='steps-mid')
style = dict(linestyle=hv.Cycle(values=['--', '-']))
legend = dict(legend_position='top_left')
opts = {'Curve': {'style': style, 'plot': plot},
        'Overlay': {'plot': legend}}

postage(opts)<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.18270008084074374, 'fraction_numerical': 0.06143896523848019, 'mean_word_length': 4.526785714285714, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '3', 'dir': 'jupyter-structured-clean-dedup', 'id': '12085', 'license': 'BSD-3-Clause', 'n_tokens_mistral': 522, 'n_tokens_neox': 474, 'n_words': 109, 'path': 'examples/gallery/demos/matplotlib/step_chart.ipynb', 'repo_name': 'laleph/holoviews', 'size': '1237'}