在
在2D图中,我只需要使用
matplotlib
中,如何在 3D 散点图中显示网格?在2D图中,我只需要使用
plt.grid(True)
,这样就可以轻松显示网格。但是在3D图中,相同的调用会返回一个警告:File "/usr/lib/pymodules/python2.7/matplotlib/pyplot.py", line 2792, in grid
ret = gca().grid(b, which, axis, **kwargs)
TypeError: grid() takes at most 2 arguments (4 given)
我该怎么做?