There will be maintenance performed on,,, and starting at 9am PDT on Tuesday 18th August 2020. There will be an extremely small period of downtime at the start of the maintenance window as various services are restarted. Please address any comments, questions, or concerns to

Commit 106863c7 authored by Jameson Graef Rollins's avatar Jameson Graef Rollins

fix plotting ylim specification

parent 0b644921
Pipeline #77272 passed with stages
in 3 minutes and 35 seconds
......@@ -21,6 +21,8 @@ def plot_noise(
fig = ax.figure
ylim = kwargs.get('ylim')
for name, trace in traces.items():
data, style = trace
......@@ -58,9 +60,7 @@ def plot_noise(
ax.autoscale(enable=True, axis='y', tight=True)
if 'ylim' in kwargs:
if ylim:
ax.set_xlim(freq[0], freq[-1])
Markdown is supported
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