Is there a way to turn off the colorscale interpolation in a go.Bar( ) like below?

Just leaving a link here. We had two really nice topics concerning discrete colorscales: