To plot the line chart with dotted lines which of the following code can be used?

1
plt.plot(x_data,y_data)
plt.linestyle  = “dotted”
2
plt.plot(x_data,y_data)
plt.linestyle(“dotted”)
3
plt.plot(x=x_data,y=y_data, linestyle = “dotted”)
4
None of the above

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation