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.
2 parents 238073b + c715938 commit 3a85bfcCopy full SHA for 3a85bfc
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