Skip to content

Commit

Permalink
Use old curve setpoints for offsets
Browse files Browse the repository at this point in the history
Closes #52 Closes #69
  • Loading branch information
ksunden committed Nov 15, 2019
1 parent 474f1e7 commit 5a18441
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion attune/workup/_plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,11 @@ def plot_tune_test(data, channel, curve, prior_curve, raw_offsets=None):
ax.plot(curve.setpoints[:], raw_offsets, c="grey", lw=5, alpha=0.5)

ax.plot(
curve.setpoints[:], curve.setpoints[:] - prior_curve.setpoints[:], c="k", lw=5, alpha=0.5
prior_curve.setpoints[:],
curve.setpoints[:] - prior_curve.setpoints[:],
c="k",
lw=5,
alpha=0.5,
)
ax.axhline(c="k", lw=1)
ax.grid()
Expand Down

0 comments on commit 5a18441

Please sign in to comment.