diff --git a/qiskit_experiments/curve_analysis/curve_analysis.py b/qiskit_experiments/curve_analysis/curve_analysis.py index 9215917c98..2634a8c984 100644 --- a/qiskit_experiments/curve_analysis/curve_analysis.py +++ b/qiskit_experiments/curve_analysis/curve_analysis.py @@ -289,7 +289,7 @@ def _format_data( averaged["xval"] = xv averaged["yval"] = avg_yval averaged["yerr"] = avg_yerr - averaged["name"] = g_dict["name"][0] + averaged["name"] = data_name averaged["class_id"] = model_id averaged["shots"] = shots formatted.append(list(averaged.values()))