Hi Alex
I am new to plotly dash and I don’t really understand where to add this piece of code.
Could you please give an example.
Below is how I am plotting my figure:
fig = px.scatter(df_plot[‘status_count’]).update_traces(mode=‘lines+markers’)
fig.add_bar(x=df_plot.index, y=df_plot[‘status_count’], name=“Active Sellers”, marker_color=‘rgb(255,204,0)’)
fig.update_layout(
{
'yaxis': {'title': 'No of Active Sellers'},
'xaxis': dict(title='Months',
tickmode='array',
tickvals=df_plot.index,
ticktext=df_plot.index
),
'margin': dict(l=10, r=10, t=60, b=10)
},
showlegend=False,
height=250
# plot_bgcolor='rgb(204,255,255)'
)