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