jrckln / Bendyourspline

2 stars 0 forks source link

Legend of main plot displays unchecked options #57

Closed matherealize closed 2 years ago

matherealize commented 2 years ago

The plot for "Response function" always has the entries "LOESS smoother" and "Optimal fit", even though these objects do not exist when no data is selected.

Similarly, when a dataset is selected, but the option fors LOESS smooth and Optimal fit are unchecked, the entries are also displayed.

Is it possible to update the legend to display only what's really there, in oder to avoid confusion?