Commit 7f163473 authored by Sebastian Heimann's avatar Sebastian Heimann
Browse files

grond check: conditional import of matplotlib stuff

parent 8e5c89d1
......@@ -1621,8 +1621,9 @@ def check(
show_plot=False,
n_random_synthetics=10):
from matplotlib import pyplot as plt
from grond.plot import colors
if show_plot:
from matplotlib import pyplot as plt
from grond.plot import colors
for ievent, event_name in enumerate(event_names):
ds = config.get_dataset(event_name)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment