- 2
I need your help!
Find the errors
2 ответов
0
Hay Azalo Ahmat you now sololearn code playground is not interactive. And matplotlib.pyplot is not supported here . Use ide for that.
For android you can use pydroid3 app.
and why had you use color 2 times
0
import matplotlib.pyplot as plt
days=[0,10,20,30,40,50,60]
cases=[65,940,19092,456,8906,3456,346]
plt.plot(days,cases,color='green',linestyle='dashed',linewidth=3,marker='0',markerfacecolor='green',markersize=7)
plt.ylim(0,1000000)
plt.xlim(0,70)
plt.xlabel('days-count on every 10 days')
plt.ylabel('Activate cases-(0.0=0 to 1.0=1000000)')
plt.title('Coronavirus Active Cases Graph of USA')
plt.show()