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

1
1
2
4
3
2
4
3

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation