- 2

I need your help!

Find the errors

19th Jun 2020, 3:16 AM
Azalo Ahmat
Azalo Ahmat - avatar
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
19th Jun 2020, 3:32 AM
Ayush Kumar
Ayush Kumar - avatar
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()
19th Jun 2020, 3:17 AM
Azalo Ahmat
Azalo Ahmat - avatar