Why i cannot see on my fig , a specific color for outliers?

Question:

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')
Asked By: shira

||

Answers:

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

Answered By: Salahuddin
Categories: questions Tags: , ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.