You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would be great if the histfunc argument of px.histogram() accepted 'kde'. It's currently limited to ['count', 'sum', 'avg', 'min', 'max'] but I'm looking for output like what figure_factory.create_distplot() gives when show_hist=False, show_rug=False.
importplotly.figure_factoryasffimportnumpyasnpx1=np.random.randn(200) -1x2=np.random.randn(200)
x3=np.random.randn(200) +1hist_data= [x1, x2, x3]
group_labels= ['Group 1', 'Group 2', 'Group 3']
colors= ['#333F44', '#37AA9C', '#94F3E4']
# Create distplot with curve_type set to 'normal'fig=ff.create_distplot(hist_data, group_labels, show_hist=False, show_rug=False, colors=colors)
# Add titlefig.update_layout(title_text='Curve and Rug Plot')
fig.show()
The text was updated successfully, but these errors were encountered:
Would be great if the
histfunc
argument ofpx.histogram()
accepted'kde'
. It's currently limited to['count', 'sum', 'avg', 'min', 'max']
but I'm looking for output like whatfigure_factory.create_distplot()
gives whenshow_hist=False, show_rug=False
.The text was updated successfully, but these errors were encountered: