Plotly scatter charts show no color when running on dash app

The y values are cotegorical, right? This could be the reason for it. Take a look at this: