Skip to content

Commit d8d0741

Browse files
authored
Merge pull request #433 from NREL/fix_issue_#408
set lw to 0 in plotting.degradation_summary_plots
2 parents 596f584 + 8f327cb commit d8d0741

File tree

7 files changed

+43
-251
lines changed

7 files changed

+43
-251
lines changed

docs/TrendAnalysis_example.ipynb

Lines changed: 13 additions & 82 deletions
Large diffs are not rendered by default.

docs/TrendAnalysis_example_NSRDB.ipynb

Lines changed: 3 additions & 3 deletions
Large diffs are not rendered by default.

docs/degradation_and_soiling_example.ipynb

Lines changed: 14 additions & 163 deletions
Large diffs are not rendered by default.

docs/sphinx/source/changelog.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
RdTools Change Log
22
==================
3+
.. include:: changelog/pending.rst
34
.. include:: changelog/v3.0.0-beta.0.rst
45
.. include:: changelog/v2.2.0-beta.2.rst
56
.. include:: changelog/v2.2.0-beta.1.rst
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
**************************
2+
v3.0.0 (December XX, 2024)
3+
**************************
4+
5+
6+
Bug fixes
7+
---------
8+
* Set marker linewidth to zero in `rdtools.plotting.degradation_summary_plots` (:pull:`433`)

docs/sphinx/source/changelog/v3.0.0-beta.0.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Enhancements
2222
* Added codecov.yml configuration file (:pull:`420`)
2323
* Availability module no longer considered experimental (:pull:`429`)
2424
* Add capability to seed the CircularBlockBootstrap (:pull:`429`)
25-
* Allow sub-daily aggregation in :py:func:`~rdtools.degradation.degradation_year_on_year` (:pull:`390`)
25+
* Allow sub-daily aggregation in :py:func:`~rdtools.degradation.degradation_year_on_year` (:pull:`390`)
2626

2727
Bug fixes
2828
---------

rdtools/plotting.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,9 @@ def degradation_summary_plots(yoy_rd, yoy_ci, yoy_info, normalized_yield,
112112
colors = yoy_info['usage_of_points'].map({0: 'red', 1: 'green', 2: plot_color})
113113
else:
114114
colors = plot_color
115-
ax1.scatter(renormalized_yield.index, renormalized_yield,
116-
c=colors, alpha=scatter_alpha)
115+
ax1.scatter(
116+
renormalized_yield.index, renormalized_yield, c=colors, alpha=scatter_alpha, linewidths=0
117+
)
117118

118119
ax1.plot(x, y, 'k--', linewidth=3)
119120
ax1.set_xlabel('Date')

0 commit comments

Comments
 (0)