Skip to content

Commit dd68286

Browse files
authored
Fix error in clear-sky user's guide docs page (#1915)
* Add window_length keyword argument to detect_clearsky example in clearsky.rst user guide * Update v0.10.03.rst "what's new" file to reflect change * Removed cs.index and window_length arguments from clearsky.detect_clearsky in clearsky.rst user guide
1 parent 4e55d50 commit dd68286

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

docs/sphinx/source/user_guide/clearsky.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -642,7 +642,7 @@ Now we run the synthetic data and clear sky estimate through the
642642

643643
.. ipython:: python
644644
645-
clear_samples = clearsky.detect_clearsky(ghi, cs['ghi'], cs.index, 10)
645+
clear_samples = clearsky.detect_clearsky(ghi, cs['ghi'])
646646
647647
fig, ax = plt.subplots()
648648

docs/sphinx/source/whatsnew/v0.10.3.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ Testing
2525
Documentation
2626
~~~~~~~~~~~~~
2727
* Fixed a plotting issue in the IV curve gallery example (:pull:`1895`)
28+
* Fixed `detect_clearsky` example in `clearsky.rst` (:issue:`1914`)
2829

2930
Contributors
3031
~~~~~~~~~~~~

0 commit comments

Comments
 (0)