AlloViz.AlloViz.Elements.Nodes._to_latex_via_styler¶
- Nodes._to_latex_via_styler(buf=None, *, hide: dict | list[dict] | None = None, relabel_index: dict | list[dict] | None = None, format: dict | list[dict] | None = None, format_index: dict | list[dict] | None = None, render_kwargs: dict | None = None)¶
Render object to a LaTeX tabular, longtable, or nested table.
Uses the
Styler
implementation with the following, ordered, method chaining:- Parameters:
- bufstr, Path or StringIO-like, optional, default None
Buffer to write to. If None, the output is returned as a string.
- hidedict, list of dict
Keyword args to pass to the method call of
Styler.hide
. If a list will call the method numerous times.- relabel_indexdict, list of dict
Keyword args to pass to the method of
Styler.relabel_index
. If a list will call the method numerous times.- formatdict, list of dict
Keyword args to pass to the method call of
Styler.format
. If a list will call the method numerous times.- format_indexdict, list of dict
Keyword args to pass to the method call of
Styler.format_index
. If a list will call the method numerous times.- render_kwargsdict
Keyword args to pass to the method call of
Styler.to_latex
.
- Returns:
- str or None
If buf is None, returns the result as a string. Otherwise returns None.