Skip to content

Commit 9dea11d

Browse files
Fix legend handles
1 parent e6aac55 commit 9dea11d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chroma_gui/plotting/functions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ def plot_freq(fig,
194194
# ax3.get_legend_handles_labels())]
195195
leg = ax.legend(handles, labels, loc='upper left')
196196
leg = ax2.legend(handles, labels, loc='upper left')
197-
for lh in leg.legendHandles:
197+
for lh in leg.legend_handles:
198198
lh.set_alpha(1)
199199

200200
ax.ticklabel_format(axis='y', style='sci', useMathText=True)

0 commit comments

Comments
 (0)