Skip to content
Snippets Groups Projects
Commit dbf4a628 authored by Sean Leavey's avatar Sean Leavey
Browse files

Only autoset ylim if not specified

parent 7f862e94
No related branches found
No related tags found
1 merge request!72Only autoset ylim if not specified
......@@ -40,7 +40,8 @@ def plot_noise(
alpha=0.6,
lw=4,
)
ylim = [min(data)/10, max(data)]
if ylim is None:
ylim = [min(data)/10, max(data)]
if 'label' not in style:
style['label'] = name
if 'linewidth' in style:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment