Fix double label issue in FluxPoints.plot()
@@ -492,6 +492,9 @@ class FluxPoints(object):
y_err = (0.5 * y_ul[is_ul].value, np.zeros_like(y_ul[is_ul].value))
kwargs.setdefault('c', ebar[0].get_color())
+
+ # pop label keyword to avoid that it appears twice in the legend
+ kwargs.pop('label', None)
ax.errorbar(x[is_ul].value, y_ul[is_ul].value, xerr=x_err, yerr=y_err,
uplims=True, **kwargs)
