Skip to content

Commit

Permalink
Cosmetic tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
dkirkby committed Oct 7, 2017
1 parent ebaf5de commit 0d51d17
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions py/desisurvey/scripts/surveymovie.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,10 +248,11 @@ def init_figure(self, nightly, width=1920, height=1080, dpi=32):
self.avoids.append(ax.scatter(
self.xy_avoid[:, 0], self.xy_avoid[:, 1], facecolors=fc,
edgecolors=ec, s=s, lw=2))
# Draw LST lines for the current exposure.
line1 = ax.axvline(0., lw=2, ls=':', color=self.nowcolor)
line2 = ax.axvline(0., lw=2, ls=':', color=self.nowcolor)
self.lstlines.append((line1, line2))
if not nightly:
# Draw LST lines for the current exposure.
line1 = ax.axvline(0., lw=2, ls=':', color=self.nowcolor)
line2 = ax.axvline(0., lw=2, ls=':', color=self.nowcolor)
self.lstlines.append((line1, line2))
passnum += 1

if self.show_scores:
Expand All @@ -274,8 +275,9 @@ def init_figure(self, nightly, width=1920, height=1080, dpi=32):
self.pdata.reshape(1, -1), interpolation='none', aspect='auto',
extent=(edges[0], edges[-1], 0., 1.),
vmin=-0.5, vmax=3.5, cmap=pcmap)
self.pline1 = paxes.axvline(0., lw=4, ls='-', color=self.nowcolor)
self.pline2 = paxes.axvline(0., lw=4, ls='-', color=self.nowcolor)
if not nightly:
self.pline1 = paxes.axvline(0., lw=4, ls='-', color=self.nowcolor)
self.pline2 = paxes.axvline(0., lw=4, ls='-', color=self.nowcolor)

# Add text label in the top-right corner.
self.text = plt.annotate(
Expand Down

0 comments on commit 0d51d17

Please sign in to comment.