I am using the below code to display histogram but it does not seems to show any fig. I have no idea why it does not work.
fig = px.histogram(
df,
x = 'age',
marginal = 'box',
nbins = 47,
title = 'Distribution of Age'
)
fig.update_layout(bargap = 0.1)
fig.show()