hi
I have a histogram in my app, and results some times are shown like this:
why is it not showing correctly (the x axis)
dff=pd.DataFrame(dff)
dff2_=dff.copy()
#dff2_.dropna()
dff2_[drop1].dropna()
dff2_[drop1] = dff2_[drop1].sort_values()
figure = px.histogram(data_frame=dff2_,
x=drop1,
marginal='violin',
histnorm='probability density',
title="Histogram %s "%drop1,
template = 'plotly_dark',
)
figure.update_layout(transition_duration=500)
return figure
How can I fix this?