Skip to content

Commit

Permalink
Fixed layout issue in plot function.
Browse files Browse the repository at this point in the history
  • Loading branch information
pehamTom committed Jul 2, 2024
1 parent 59cc0e5 commit 629845a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/mqt/qecc/ft_stateprep/simulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,7 @@ def plot_state_prep(self, ps: list[float], min_errors: int = 500, name: str | No
plt.ylabel("Acceptance rate")
if name is not None:
plt.legend()
plt.tight_layout()


class LutDecoder:
Expand Down

0 comments on commit 629845a

Please sign in to comment.