iqm.benchmarks.compressive_gst.mgst.reporting.figure_gen.dataframe_to_figure#
- iqm.benchmarks.compressive_gst.mgst.reporting.figure_gen.dataframe_to_figure(df: DataFrame, row_labels: list[str] | None = None, col_width: float = 2, fontsize: int = 12) Figure#
Turns a pandas DataFrame into a figure.
This is needed to conform with the standard file saving routine of QCVV.
- Parameters:
- Returns:
A figure representing the dataframe.
- Return type:
figure