summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBirte Kristina Friesel <birte.friesel@uos.de>2024-06-27 08:23:39 +0200
committerBirte Kristina Friesel <birte.friesel@uos.de>2024-06-27 08:23:39 +0200
commit30758926e1c2e4324cd3601f77f59781968febb1 (patch)
treefd9d94da9630dc8dc878b9a77c1b3811937a995e /lib
parentb6cbc26212354963b719f81ef425fe30768f2584 (diff)
analyze-kconfig: only import plotter (→matplotlib) when needed
Diffstat (limited to 'lib')
-rw-r--r--lib/cli.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/cli.py b/lib/cli.py
index 8baca9a..0daecb6 100644
--- a/lib/cli.py
+++ b/lib/cli.py
@@ -1,7 +1,6 @@
#!/usr/bin/env python3
import dfatool.functions as df
-import dfatool.plotter
import logging
import numpy as np
import os
@@ -430,6 +429,8 @@ def export_json_unparam(model, filename):
def boxplot_param(args, model):
+ import dfatool.plotter
+
title = None
param_is_filtered = dict()
if args.filter_param: