Labels color not set in go Pie charts

Hi everyone, I’m trying to set label colors for go Pie Charts, but only the first label color is properly set.
Code:

import pandas as pd
import plotly.express as px
import plotly.graph_objects as go

df = px.data.tips()
go.Figure(data=go.Pie(labels=df['smoker'],
                      marker_colors=['green','red']
                     )
         )

here a picture

It works if I specify both ‘labels’ and ‘values’. How can I fix this ?