下列代码中plt.bar(x, y) 函数用于散点图。( )
import matplotlib.pyplot as plt import numpy as np x = np.array(['A', 'B', 'C', 'D']) y = np.array([3, 7, 2, 5]) plt.bar(x, y) plt.show()