Skip to content

Commit

Permalink
Fix code style issues with Black
Browse files Browse the repository at this point in the history
  • Loading branch information
cbueth committed Aug 2, 2024
1 parent 6fcee2c commit b48d886
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions superblockify/metrics/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,7 @@ def plot_distance_distributions(
axe[0].hist(dist_matrix.flatten(), bins=100)
axe[0].set_title(dist_title)
axe[0].set_xlabel(
f"Travel time (s)"
if distance_unit == "s"
else f"Distance ({distance_unit})"
f"Travel time (s)" if distance_unit == "s" else f"Distance ({distance_unit})"
)
axe[0].set_ylabel("Count")
# Plot scatter plot of lat/lon, aspect ratio should be 1:1
Expand Down

0 comments on commit b48d886

Please sign in to comment.