Open mikael10j opened 2 years ago
@vuillaut is there any reason why ax.legend()
isn't called in some ctaplot.plots
functions ?
@vuillaut is there any reason why
ax.legend()
isn't called in somectaplot.plots
functions ?
In generic functions such as plot_angular_resolution_per_energy
for example?
I think the rational was not to call legend()
by default because no label is provided by default (that would raise a warning if no label is provided).
If the user (here gammaboard) provides a label, I believe he could also call legend()
...
Or we could have an if
condition in each plotting function...
Ok, thank you, understood. Let's call it in gammaboard.
Gammaboard labels aren't printed until we select a reference curve.