petitRADTRANS.plotlib.style
===========================

.. py:module:: petitRADTRANS.plotlib.style

.. autoapi-nested-parse::

   This module creates a default plotting style for all pRT plots

   All of these can be changed when calling most plotting functions.
   This will affect the matplotlib rcParams, which can be reset to
   the default values after pRT is finished.



Attributes
----------

.. autoapisummary::

   petitRADTRANS.plotlib.style.__tiny_figure_font_size
   petitRADTRANS.plotlib.style.__small_figure_font_size
   petitRADTRANS.plotlib.style.__medium_figure_font_size
   petitRADTRANS.plotlib.style.__large_figure_font_size
   petitRADTRANS.plotlib.style.wavenumber_units
   petitRADTRANS.plotlib.style.wavelength_units
   petitRADTRANS.plotlib.style.flux_units
   petitRADTRANS.plotlib.style.default_color
   petitRADTRANS.plotlib.style.__species_color
   petitRADTRANS.plotlib.style.__other_gases_color
   petitRADTRANS.plotlib.style.__cloud_color


Functions
---------

.. autoapisummary::

   petitRADTRANS.plotlib.style.get_species_color
   petitRADTRANS.plotlib.style.set_petitradtrans_plot_style
   petitRADTRANS.plotlib.style.update_figure_font_size


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

.. py:data:: __tiny_figure_font_size
   :value: 40


.. py:data:: __small_figure_font_size
   :value: 22


.. py:data:: __medium_figure_font_size
   :value: 16


.. py:data:: __large_figure_font_size
   :value: 22


.. py:data:: wavenumber_units
   :value: 'cm$^{-1}$'


.. py:data:: wavelength_units
   :value: 'cm'


.. py:data:: flux_units
   :value: 'erg$\\cdot$s$^{-1}\\cdot$cm${-2}$/cm$^{-1}$'


.. py:data:: default_color
   :value: 'magenta'


.. py:data:: __species_color

.. py:data:: __other_gases_color

.. py:data:: __cloud_color

.. py:function:: get_species_color(species, implemented_only=False)

.. py:function:: set_petitradtrans_plot_style()

.. py:function:: update_figure_font_size(font_size)

   Update the figure font size in a nice way.
   :param font_size: new font size


