We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 581994e commit c715938Copy full SHA for c715938
bag_tools/scripts/check_drop.py
@@ -35,7 +35,11 @@
35
import numpy
36
import argparse
37
38
-import matplotlib.pyplot as plt
+# Workaround to avoid issues with X11 rendering when running on background:
39
+import matplotlib as mpl
40
+mpl.use('Agg')
41
+
42
+import mpl.pyplot as plt
43
44
def check_drop(inbags, plot_format='png'):
45
# Retrieve msg time, bag time and sequence number for all topics and messages:
bag_tools/scripts/plot.py
@@ -50,7 +50,7 @@
50
import matplotlib as mpl
51
mpl.use('Agg')
52
53
54
55
56
def get_nested_attribute(msg, nested_attributes):
0 commit comments