Announcing Dash Bio 1.0.0 🎉 : a one-stop-shop for bioinformatics and drug development visualizations.

Step Histogram Equivalent to pyplot's histtype=step

Hello,

I am pretty new to Plotly. It seems pretty slick, and so I am wondering if I can migrate away from matplotlib and use Plotly. I am a physicist, and the standard way to present histograms is to use a step-style, which can be done with matplotlib/pyplot by passing histtype="step.

It should look something like this
image

How could I achieve this with Plotly?

1 Like

I have been looking for this for some time. Apparently it is not possible to do this in an easy way (like with one argument). You can, however, do it manually. Have a look at this. The code in the test_histogram.py script produces this plot:

However, the interface is different from the Plotly standard.