Commit b2bb59da authored by Tammo Jan Dijkema's avatar Tammo Jan Dijkema
Browse files

Set log scale if attenuator on

parent f3b362bd
......@@ -188,6 +188,10 @@ while not stoprequest:
prev_points = ax.scatter([separation.deg], [signal], s=50, color='red')
ax.set_ylim((0.9 * minsignal, 1.1 * maxsignal))
if minsignal < 1000:
# Attenuator on
ax.set_yscale("log")
update_legend(ax, closest_source)
# show the plot
......
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