diff --git a/qiskit_experiments/curve_analysis/base_curve_analysis.py b/qiskit_experiments/curve_analysis/base_curve_analysis.py index dc6882dd21..387c538648 100644 --- a/qiskit_experiments/curve_analysis/base_curve_analysis.py +++ b/qiskit_experiments/curve_analysis/base_curve_analysis.py @@ -189,7 +189,7 @@ def set_options(self, **fields): # TODO remove this in Qiskit Experiments v0.4 if "curve_plotter" in fields: warnings.warn( - f"The analysis option 'curve_plotter' has been deprecated. " + "The analysis option 'curve_plotter' has been deprecated. " "The option is replaced with 'curve_drawer' that takes 'MplCurveDrawer' instance. " "If this is a loaded analysis, please save this instance again to update option value. " "The 'curve_plotter' argument along with this warning will be removed " diff --git a/test/curve_analysis/test_baseclass.py b/test/curve_analysis/test_baseclass.py index 13eefc06f0..55d2b1610a 100644 --- a/test/curve_analysis/test_baseclass.py +++ b/test/curve_analysis/test_baseclass.py @@ -261,7 +261,7 @@ class InvalidClass: analysis.set_options(data_processor=InvalidClass()) with self.assertRaises(TypeError): - analysis.set_options(curve_plotter=InvalidClass()) + analysis.set_options(curve_drawer=InvalidClass()) class TestCurveAnalysisIntegration(QiskitExperimentsTestCase):