Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Nov 4, 2023
1 parent 4180197 commit da8d233
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/sweets/_missing_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,9 @@ def plot_count_per_burst(
plt.cm.ScalarMappable(norm=norm, cmap=cmap), ax=ax, orientation="horizontal"
)
cbar.set_label("Count")
cbar_ticks = [(boundaries[i] + boundaries[i + 1]) / 2 for i in range(len(boundaries) - 1)]
cbar_ticks = [
(boundaries[i] + boundaries[i + 1]) / 2 for i in range(len(boundaries) - 1)
]
cbar.set_ticks(cbar_ticks)
cbar.set_ticklabels(unique_counts)

Expand Down

0 comments on commit da8d233

Please sign in to comment.