diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2019-11-10 10:18:31 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2019-11-10 10:18:31 -0500 |
commit | 064804b68867a83fd77f687b2f504069b74de771 (patch) | |
tree | 40533551a5600aaf76709ee10e9092fa41b262b8 /scripts/graphstats.py | |
parent | bdc7383e51ca37ec87c20fdbc14154ff1417a9dc (diff) | |
download | kutter-064804b68867a83fd77f687b2f504069b74de771.tar.gz kutter-064804b68867a83fd77f687b2f504069b74de771.tar.xz kutter-064804b68867a83fd77f687b2f504069b74de771.zip |
graphstats: Fix matplotlib import error
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'scripts/graphstats.py')
-rwxr-xr-x | scripts/graphstats.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/graphstats.py b/scripts/graphstats.py index 44c1a1fd..f28685ad 100755 --- a/scripts/graphstats.py +++ b/scripts/graphstats.py @@ -51,6 +51,7 @@ def parse_log(logname, mcu): return out def setup_matplotlib(output_to_file): + global matplotlib if output_to_file: matplotlib.use('Agg') import matplotlib.pyplot, matplotlib.dates, matplotlib.font_manager |