NREL / flasc

A rich floris-driven suite for SCADA analysis
https://nrel.github.io/flasc/
BSD 3-Clause "New" or "Revised" License
32 stars 18 forks source link

Bug in filtering.plot_postprocessed_in_ws_power_curve #208

Open Bartdoekemeijer opened 2 months ago

Bartdoekemeijer commented 2 months ago

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