Skip to content

Commit

Permalink
Merge pull request #1899 from pypeit/devup
Browse files Browse the repository at this point in the history
Sync develop and release
  • Loading branch information
kbwestfall authored Feb 12, 2025
2 parents 932b7dd + 3833883 commit a5344b8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions doc/releases/1.17.2.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Version 1.17.2
==============

- Hotfix for typo in ``wavetilts.py``, changing ``legend.legendHandles`` to
``legend.legend_handles`` in use of ``matplotlib``.

2 changes: 1 addition & 1 deletion doc/releases/1.17.2dev.rst → doc/releases/1.17.3dev.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

Version 1.17.2dev
Version 1.17.3dev
=================

Installation Changes
Expand Down
2 changes: 1 addition & 1 deletion pypeit/wavetilts.py
Original file line number Diff line number Diff line change
Expand Up @@ -1065,7 +1065,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 a5344b8

Please sign in to comment.