Consider the following code in the colab environment PYTHON 1 import matplotlib.pyplot as plt 2 x = [3,-2,5,6] 3 y = [1,
Posted: Sat May 14, 2022 3:42 pm
Consider the following code in the colab environment PYTHON 1 import matplotlib.pyplot as plt 2 x = [3,-2,5,6] 3 y = [1,6,7,5] 4 fig, ax = plt.subplots() 5 ax.plot(x,y) 6 plt.show() Select all possible code lines that can change to remove the solid lines between the four points, and just draw the points? line 5: ax.scatter(x,y) line 5: ax.plot(x, y, "o") line 5: ax.bar(x,y) line 5: ax.subplot(x,y)