Plotly express bars are full of horizontal white lines showing individual entry when using color field

Hi, when using plotly express and a color field, the bars would be full of horizontal white lines because each entry forming the bar will shown individually.
is it possible to not show individual lines of data in the bar and get a plain color bar ?

import as px
tips =
fig =, x=“sex”, y=“total_bill”, color=‘time’)