diff --git a/examples/pltslamshow.py b/examples/pltslamshow.py index 47eacdc..5905df3 100644 --- a/examples/pltslamshow.py +++ b/examples/pltslamshow.py @@ -21,6 +21,10 @@ along with this code. If not, see . ROBOT_HEIGHT_MM = 500 ROBOT_WIDTH_MM = 300 +# This helps with Raspberry Pi +import matplotlib +matplotlib.use('TkAgg') + import matplotlib.pyplot as plt import matplotlib.cm as colormap from math import sin, cos, radians