# Plotly scatter charts show no color when running on dash app

**URL:** https://community.plotly.com/t/plotly-scatter-charts-show-no-color-when-running-on-dash-app/73339
**Category:** Dash Python
**Tags:** question
**Created:** [March 7, 2023, 9:13pm UTC](https://community.plotly.com/t/plotly-scatter-charts-show-no-color-when-running-on-dash-app/73339 "2023-03-07T21:13:19Z")
**Posts on this page:** 1
**Showing post:** 8

<div class="post-metadata">

### Author: ![AIMPED](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/aimped/32/21758_2.png) [@AIMPED](https://community.plotly.com/u/AIMPED)
#### Post date: [March 8, 2023, 2:45pm UTC](https://community.plotly.com/t/plotly-scatter-charts-show-no-color-when-running-on-dash-app/73339/8 "2023-03-08T14:45:34Z")

</div>

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

> [@Trying to display all y-axis names in scatter chart even without data](https://community.plotly.com/t/trying-to-display-all-y-axis-names-in-scatter-chart-even-without-data/72079/3):
>
> Hi @ShreyanshG, while @AbdelAnlah has a valid point, you could map your names to integers, plot these integers on the y-axis over the x-axis and use custom ticks to use the actual names. You could also map a color to each name. import pandas as pd import random import plotly.express as px random.seed(42) days = 31 # create data week = pd.date\_range('01/01/2022', periods=days, freq='D') # all names all\_names = list('ABCDEFGHIJKLMNOPQRSTUVWXYZ') # current names in period current\_names = list…

---

_[View the full topic](https://community.plotly.com/t/plotly-scatter-charts-show-no-color-when-running-on-dash-app/73339)._
