flasc icon indicating copy to clipboard operation
flasc copied to clipboard

Bug in filtering.plot_postprocessed_in_ws_power_curve

Open Bartdoekemeijer opened this issue 6 months ago • 0 comments

Apologies for the short issue report, but wanted to flag this rather than hardcode it in my version.

Using more recent versions of matplotlib (> 3.9), legendHandles was replaced by legend_handles. See https://stackoverflow.com/questions/12848808/set-legend-symbol-opacity.

Hence, we must replace legendHandles with legend_handles in this line of code: https://github.com/NREL/flasc/blob/686c62d9b757f598b45d775c604bb773cb7bf7e8/flasc/data_processing/filtering.py#L899

Bartdoekemeijer avatar Aug 26 '24 11:08 Bartdoekemeijer