Skip to content

Commit

Permalink
Update qiskit_experiments/curve_analysis/visualization/mpl_drawer.py
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel J. Egger <[email protected]>
  • Loading branch information
nkanazawa1989 and eggerdj authored Mar 30, 2022
1 parent 4c388bf commit 4f16997
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qiskit_experiments/curve_analysis/visualization/mpl_drawer.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ class MplCurveDrawer(BaseCurveDrawer):
class PrefixFormatter(Formatter):
"""Matplotlib axis formatter to detach prefix.
If axis value is x=1000 and the factor is 1000, it will be shown
to be 1.0 in the ticks and its unit is shown with the prefactor 'k'
If a value is, e.g., x=1000.0 and the factor is 1000, then it will be shown
as 1.0 in the ticks and its unit will be shown with the prefactor 'k'
in the axis label.
"""

Expand Down

0 comments on commit 4f16997

Please sign in to comment.