Skip to content

Commit 5fecf59

Browse files
author
Enrique Fernandez
committed
Fix mpl = matplotlib import
1 parent 3a85bfc commit 5fecf59

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bag_tools/scripts/check_drop.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
import matplotlib as mpl
4040
mpl.use('Agg')
4141

42-
import mpl.pyplot as plt
42+
import matplotlib.pyplot as plt
4343

4444
def check_drop(inbags, plot_format='png'):
4545
# Retrieve msg time, bag time and sequence number for all topics and messages:

bag_tools/scripts/plot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
import matplotlib as mpl
5151
mpl.use('Agg')
5252

53-
import mpl.pyplot as plt
53+
import matplotlib.pyplot as plt
5454

5555

5656
def get_nested_attribute(msg, nested_attributes):

0 commit comments

Comments
 (0)