Skip to content

Commit 538f001

Browse files
committed
tview: Suppress warnings about importing Axes3D
We don't use 3D projections, and if users have a system installed matplotlib then this warning will spuriously fire every single time tview starts.
1 parent bd5fcb3 commit 538f001

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

utils/gui/moteus_gui/tview.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@
3838
import sys
3939
import time
4040
import traceback
41+
import warnings
42+
warnings.filterwarnings(
43+
"ignore", message="Unable to import Axes3D", category=UserWarning)
4144
import matplotlib
4245
import matplotlib.figure
4346

0 commit comments

Comments
 (0)