Diverging color map for histogram

If I create histogram like below and want to color is based on a column which has floating numbers, I get a plot with discrete colors.

fig = px.histogram(df,

What I want is a way to specify a diverging color map to get a continuous color map. I dont see any option for that. I only allows color_discrete_map or color_discrete_sequence. How do achieve continuous color map?