Hi
I have a simple line plot by category and I want to change the colours from the defaults to custom
fig = px.line(df=reportdata, x=“month”, y=‘population’, color=‘country’)
Can I use a python dictionary to define colours for the categories in my data , in simple terms:
dict = {‘France’: blue, ‘Italy’:'green}
many thanks