Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/pyprideap/viz/qc/render.py
Original file line number Diff line number Diff line change
Expand Up @@ -633,9 +633,9 @@ def render_data_completeness(data: DataCompletenessData) -> Figure:
text=f"{pct_below_30:.1f}% of proteins below 30% missing",
xref="x2 domain",
yref="y2 domain",
x=0.02,
x=0.98,
y=0.98,
xanchor="left",
xanchor="right",
yanchor="top",
showarrow=False,
font=dict(size=12),
Expand All @@ -650,7 +650,7 @@ def render_data_completeness(data: DataCompletenessData) -> Figure:
row=2,
col=1,
annotation_text="30% threshold",
annotation_position="top right",
annotation_position="bottom right",
annotation_font_color="#e67e22",
)
fig.update_xaxes(title_text="Missing Frequency (% Samples Below LOD)", range=[0, 100], row=2, col=1)
Expand Down
4 changes: 2 additions & 2 deletions src/pyprideap/viz/qc/report.py
Original file line number Diff line number Diff line change
Expand Up @@ -1572,8 +1572,8 @@ def qc_report(
f'<div class="plot-card" id="{key}">'
f'<div class="plot-header">'
f"<h3>{title}</h3>"
f"{extra_header}"
f'<button class="help-toggle" title="How to read this plot" aria-label="Help">?</button>'
f"{extra_header}"
f"</div>"
f"{help_block}"
f"{plot_html}"
Expand Down Expand Up @@ -1811,7 +1811,7 @@ def qc_report_split(
help_toggle = '<button class="help-toggle" title="How to read this plot" aria-label="Help">?</button>'
body = (
f'<div class="plot-card"><div class="plot-header">'
f"<h3>Dimensionality Reduction</h3>{toggle_html}{help_toggle}</div>"
f"<h3>Dimensionality Reduction</h3>{help_toggle}{toggle_html}</div>"
f'<div class="help-text">{help_text}</div>'
f"{combined_html}</div>"
)
Expand Down
Loading