# This function was autogenerated by boilerplate.py. Do not edit as
# changes will be lost
@_autogen_docstring(Axes.scatter)
def scatter(x, y, s=20, c=None, marker='+', cmap=None, norm=None, vmin=None,
vmax=None, alpha=None, linewidths=None, verts=None, edgecolors=None,
hold=None, data=None, **kwargs):
ax = gca()
# allow callers to override the hold state by passing hold=True|False
washold = ax.ishold()
您可以通过直接更改
site-packages/matplotlib/pyplot.py
中的代码来完成此操作:注意评论中的警告,因为我不知道什么时候样板.py正在调用。(您只需要尝试一下并查看)但是,在实际更改源之前,请考虑将
^{pr2}$plt.scatter
与您自己的调用重叠:相关问题 更多 >
编程相关推荐