neural_lam.utils.plot
=====================

.. py:module:: neural_lam.utils.plot

.. autoapi-nested-parse::

   Plotting helpers for figure styling and LaTeX detection.



Functions
---------

.. autoapisummary::

   neural_lam.utils.plot.fractional_plot_bundle
   neural_lam.utils.plot.has_working_latex


Module Contents
---------------

.. py:function:: fractional_plot_bundle(fraction: float) -> dict[str, Any]

   Return a ``tueplots`` bundle scaled to a fraction of the page width.

   :param fraction: Denominator applied to the default NeurIPS figure width.
   :type fraction: float

   :returns: Matplotlib rcParams bundle with updated ``figure.figsize``.
   :rtype: dict


.. py:function:: has_working_latex() -> bool

   Check whether a LaTeX toolchain is available on the system.

   :returns: ``True`` if ``latex`` and the required auxiliary tools are callable.
   :rtype: bool


