From 9dca9fcab4404fc86c7f19f01befb760c140948f Mon Sep 17 00:00:00 2001 From: Naoki Kanazawa Date: Fri, 17 Nov 2023 12:36:53 +0900 Subject: [PATCH] Minor fix for variable name --- qiskit_experiments/curve_analysis/curve_analysis.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()))