Which of the following dataset will be able to generate the given plot using matpllotlib
1
import matplotlib.pyplot as plt
date=["5","6","7",'8','9']
hours=[6,8,7,5,5.2]
plt.plot(date, hours,marker='s')
plt.show()
2
import matplotlib.pyplot as plt
date=["5","6","7",'8','9']
hours=[6,8,7,5,5.2]
plt.plot(date, hours)
plt.print()
3
import matplotlib.pyplot as plt
date=["5","6","7",'8','9']
hours=[6,8,7,5,5.2]
plt.plot(date, hours,marker='X')
plt.show()
4
import matplotlib.pyplot as plt
date=["5","6","7",'8','9']
hours=[6,8,7,5,5.2]
plt.plot(date, hours,marker='v')
plt.print()