
Manually log a figure legend for a saved PDF
log_figure_legend.RdWrites a .legend sidecar file next to an existing PDF so that
create_analysis_pptx() can include the text automatically on the
corresponding slide. Use this for figures generated outside scSidekick
(e.g. doublet score plots, external QC tools) or to override an
automatically generated legend.