-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Description
Hello, for your reference, the example provided in the documentation for plotting a histogram doesn't work.
I had to modify it as follows:
hist = distogram.histogram(h)
hist =(hist[0], hist[1][0:len(hist[0])])
df_hist = pd.DataFrame(np.array(hist).T, columns=["count", "bin"])
print(df_hist)
fig = px.bar(df_hist, x="bin", y="count", title="distogram")
fig.update_layout(height=300)
fig.write_image("hist.png")
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation