有没有办法直接将标题(和xlabel和ylabel)添加到plt.scatter(x,y,...)或plt.plot(x,y,...)而无需编写额外的行?
当我们使用Series_name.plot时,很容易添加它,我们只需编写Series_name.plot(...,title ='name')但如果我写的话,它对我不起作用:plt.scatter(..., title ='name')或plt.plot(...,title ='name')
[plt << import matplotlib.pyplot as plt]
我正在使用Python 3.