diff --git a/qiskit_experiments/curve_analysis/visualization/mpl_drawer.py b/qiskit_experiments/curve_analysis/visualization/mpl_drawer.py index 17345a6791..424d329bd9 100644 --- a/qiskit_experiments/curve_analysis/visualization/mpl_drawer.py +++ b/qiskit_experiments/curve_analysis/visualization/mpl_drawer.py @@ -36,7 +36,7 @@ class MplCurveDrawer(BaseCurveDrawer): """Curve drawer for MatplotLib backend.""" - DefaultMarkers = MarkerStyle().filled_markers + DefaultMarkers = MarkerStyle.filled_markers DefaultColors = tab10.colors class PrefixFormatter(Formatter): diff --git a/releasenotes/notes/matplotlib-fix-58d938b49771cf17.yaml b/releasenotes/notes/matplotlib-fix-58d938b49771cf17.yaml new file mode 100644 index 0000000000..93c90cf932 --- /dev/null +++ b/releasenotes/notes/matplotlib-fix-58d938b49771cf17.yaml @@ -0,0 +1,4 @@ +--- +fixes: + - | + Fixed a deprecated Matplotlib ``MarkerStyle`` usage in the visualization module that was causing warnings in Matplotlib 3.6+.