Skip to content

Commit

Permalink
🎨 pre-commit fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Jun 3, 2024
1 parent adbcb5b commit 84b5ee7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/mqt/qao/solvers.py
Original file line number Diff line number Diff line change
Expand Up @@ -1083,9 +1083,7 @@ def show_cumulative(
plt.ylabel(r"\textit{occurrence}", fontsize=20)
else:
if label:
plt.hist(
self.energies, cumulative=True, histtype="step", linewidth=2, bins=100, label=label
)
plt.hist(self.energies, cumulative=True, histtype="step", linewidth=2, bins=100, label=label)
else:
plt.hist(self.energies, cumulative=True, histtype="step", linewidth=2, bins=100)
plt.title("Cumulative distribution", fontsize=20)
Expand Down

0 comments on commit 84b5ee7

Please sign in to comment.