Skip to content

Commit

Permalink
Comply with 'optional' instead of 'default None'
Browse files Browse the repository at this point in the history
Following pvlib#1574
  • Loading branch information
echedey-ls committed Feb 15, 2023
1 parent cbff160 commit 87a73da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pvlib/spectrum/mismatch.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,14 +262,14 @@ def martin_ruiz_spectral_modifier(clearness_index, airmass_absolute,
recommended for default parameters of ``monosi``, ``polysi`` and
``asi``, see reference [1]_).
cell_type : string or None, default None
cell_type : string, optional
Specifies material of the cell in order to infer model parameters.
Allowed types are ``monosi``, ``polysi`` and ``asi``, either lower or
upper case. If None, the parameters must be provided.
model_parameters : dict-like or None, default None
In case you want to specify your model parameters and components
use a dict or a ``pd.DataFrame`` as follows:
model_parameters : dict-like, optional
.. code-block:: python
Expand Down

0 comments on commit 87a73da

Please sign in to comment.