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