bencher.results.laxtex_result
Functions
|
Convert text to LaTeX text format, replacing underscores with spaces. |
|
Format a list of values, showing ellipsis if too long. |
|
Format a single value for LaTeX, wrapping strings that contain spaces in text{}. |
|
Create a LaTeX matrix array from values. |
|
Convert input variable to LaTeX format. |
|
Convert result variables to LaTeX format. |
|
Convert benchmark configuration to LaTeX visualization. |
Module Contents
- bencher.results.laxtex_result.latex_text(text: str) str
Convert text to LaTeX text format, replacing underscores with spaces.
- bencher.results.laxtex_result.format_values_list(values: list[Any], max_display: int = 5) list[Any]
Format a list of values, showing ellipsis if too long.
- bencher.results.laxtex_result.latex_value(val: Any) str
Format a single value for LaTeX, wrapping strings that contain spaces in text{}.
- bencher.results.laxtex_result.create_matrix_array(values: list[Any]) str
Create a LaTeX matrix array from values.
- bencher.results.laxtex_result.input_var_to_latex(input_var) str
Convert input variable to LaTeX format.
- bencher.results.laxtex_result.result_var_to_latex(bench_cfg) str
Convert result variables to LaTeX format.
- bencher.results.laxtex_result.to_latex(bench_cfg) panel.pane.LaTeX | None
Convert benchmark configuration to LaTeX visualization.
Returns None if there are no variables to display.