i created an api using django for visualisation i used plotly How i can modify my code to see on my fig , outliers in one color : red?
plt.plot(df_abs.loc[outlier].iloc[1:], markerfacecolor='red')
Try this in your loop, and check if it works
plt.plot(df_abs.loc[outlier].iloc[1:], markerfacecolor='red')
for more details check here