Skip to content

Commit

Permalink
matplotlib bug
Browse files Browse the repository at this point in the history
  • Loading branch information
kbwestfall committed Feb 6, 2025
1 parent 73abd3b commit 4bda7d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pypeit/wavetilts.py
Original file line number Diff line number Diff line change
Expand Up @@ -1052,7 +1052,7 @@ def show_tilts_mpl(tilt_img, tilt_traces, show_traces=False, left_edges=None,

lcolors = ['cyan', 'red', 'yellow', 'blue'] if show_traces else ['red', 'yellow', 'blue']
legend = plt.legend(handles=handles, labelcolor=lcolors, loc=3, markerscale=2, frameon=False)
for h in legend.legendHandles:
for h in legend.legend_handles:
h.set_alpha(1)

plt.ylabel('Spectral pixel index')
Expand Down

0 comments on commit 4bda7d3

Please sign in to comment.