Skip to content

Commit 87a73da

Browse files
committed
Comply with 'optional' instead of 'default None'
Following pvlib#1574
1 parent cbff160 commit 87a73da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pvlib/spectrum/mismatch.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -262,14 +262,14 @@ def martin_ruiz_spectral_modifier(clearness_index, airmass_absolute,
262262
recommended for default parameters of ``monosi``, ``polysi`` and
263263
``asi``, see reference [1]_).
264264
265-
cell_type : string or None, default None
265+
cell_type : string, optional
266266
Specifies material of the cell in order to infer model parameters.
267267
Allowed types are ``monosi``, ``polysi`` and ``asi``, either lower or
268268
upper case. If None, the parameters must be provided.
269269
270-
model_parameters : dict-like or None, default None
271270
In case you want to specify your model parameters and components
272271
use a dict or a ``pd.DataFrame`` as follows:
272+
model_parameters : dict-like, optional
273273
274274
.. code-block:: python
275275

0 commit comments

Comments
 (0)