phenotypic.analysis.render_error_analysis_html#

phenotypic.analysis.render_error_analysis_html(category: str, result_df: pandas.DataFrame) str[source]#

Render a self-contained HTML report for one error category.

Parameters:
Returns:

a heading naming the category plus the ranked result table. Pure string build (pandas to_html + a small inline <style>); no Plotly/Dash import.

Return type:

A complete <html> document string