python_utils.import_matplotlib ============================== Back to :doc:`Module page <../modules/python_utils>` Summary ------- Avoid annoying errors due to loading matplotlib on the server Signature --------- .. code-block:: python def import_matplotlib(figsize = None, **subplots_kwargs) .. list-table:: Input variables :header-rows: 1 * - Name - Type - Default - Description * - ``figsize`` - - - None - - * - ``\*\*subplots_kwargs`` - - - - - - Output variables ---------------- .. list-table:: :header-rows: 1 * - Return annotation - Docstring type - Description * - ``None`` - - - Figure and axis to plot into Docstring --------- .. code-block:: text Avoid annoying errors due to loading matplotlib on the server :return: Figure and axis to plot into