Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Sebastian Heimann
grond
Commits
7f163473
Commit
7f163473
authored
Dec 01, 2016
by
Sebastian Heimann
Browse files
grond check: conditional import of matplotlib stuff
parent
8e5c89d1
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/core.py
View file @
7f163473
...
...
@@ -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
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment