Closed Mokyoslurp closed 1 week ago
Thanks for the report.
Indeed, we ask Plotly to show the legend only for the right-handed plot, and we miss using the legendgroup
attribute. We will fix that.
My bad, didn't see @aeomath had already proposed a fix 😅
Describe the bug When using the plotly functionnality to hide a set of data on the bar mass breakdown, only the the second figure hides the data. The first one keeps all the data plotted.
To Reproduce Plot the bar mass breakdown with at least 2 aircraft, then click on the legend on one of the aircraft.
Expected behavior Both figures should hide the selected the aircraft.
Error message Before clicking:
After clicking:
![image](https://github.com/fast-aircraft-design/FAST-OAD/assets/46455364/7b7ed8a8-7efb-45bd-8e3f-e2b6a1949962)
Environment