Skip to content

Commit 574d3ff

Browse files
committed
Update AALogoPlot
1 parent 6838ed4 commit 574d3ff

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

aaanalysis/seq_analysis/_backend/_aalogo/aalogo_plot.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,8 @@ def single_logo_(df_logo=None, df_logo_info=None,
106106
_add_tmd_jmd_label(**args_parts, x_shift=-0.5, height_factor=2.6, start=start,
107107
fontsize_tmd_jmd=fontsize_tmd_jmd, weight_tmd_jmd=weight_tmd_jmd)
108108
if highlight_tmd_area:
109-
ut.highlight_tmd_area(**args_parts, x_shift=-0.5, alpha=highlight_alpha)
110-
109+
ut.highlight_tmd_area(**args_parts, x_shift=-0.5, tmd_color=tmd_color,
110+
alpha=highlight_alpha, start=start)
111111
# Adjust labels and formatting
112112
sns.despine(ax=ax_logo, top=True, bottom=True)
113113
ax_logo.set_ylabel(y_label, size=fontsize_labels)
@@ -180,9 +180,8 @@ def multi_logo_(list_df_logo=None, target_p1_site=None, figsize_per_logo=(8, 3),
180180
else:
181181
ax_logo.set_xticks([])
182182
if highlight_tmd_area:
183-
ut.highlight_tmd_area(**args_parts, x_shift=-0.5,
184-
alpha=highlight_alpha, y_max=y_max)
185-
183+
ut.highlight_tmd_area(**args_parts, x_shift=-0.5, tmd_color=tmd_color,
184+
alpha=highlight_alpha, start=start, y_max=y_max)
186185
# Adjust labels and formatting
187186
sns.despine(ax=ax_logo, top=True, bottom=True)
188187
ax_logo.set_ylabel(y_label, size=fontsize_labels)

0 commit comments

Comments
 (0)