2
当我尝试使用平移和缩放工具时,图形左键单击并从中心放大,然后右键单击。通过使矩形选择缩放图不起作用。 有人有线索如何解决这个问题?Matplotlib 3D平移和缩放不起作用
当我尝试使用平移和缩放工具时,图形左键单击并从中心放大,然后右键单击。通过使矩形选择缩放图不起作用。 有人有线索如何解决这个问题?Matplotlib 3D平移和缩放不起作用
通过github上的源代码,看起来并不支持你正在寻找的功能。因此,你无法放大和/或使用mplot3d.Axes3D
def can_zoom(self) :
"""
Return *True* if this axes supports the zoom box button functionality.
3D axes objects do not use the zoom box button.
"""
return False
def can_pan(self) :
"""
Return *True* if this axes supports the pan/zoom button functionality.
3D axes objects do not use the pan/zoom button.
"""
return False
的源代码锅:https://github.com/matplotlib/matplotlib/blob/master/lib/mpl_toolkits/mplot3d/axes3d.py 在写这些的时候一直到1031
上线1017