neural_lam.utils.plot
Plotting helpers for figure styling and LaTeX detection.
Module Contents
-
neural_lam.utils.plot.fractional_plot_bundle(fraction: float) → dict[str, Any][source]
Return a tueplots bundle scaled to a fraction of the page width.
- Parameters:
fraction (float) – Denominator applied to the default NeurIPS figure width.
- Returns:
Matplotlib rcParams bundle with updated figure.figsize.
- Return type:
dict
-
neural_lam.utils.plot.has_working_latex() → bool[source]
Check whether a LaTeX toolchain is available on the system.
- Returns:
True if latex and the required auxiliary tools are callable.
- Return type:
bool