Skip to content

Commit

Permalink
ENH: bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamTheisen committed Aug 6, 2024
1 parent ad7c951 commit 139a250
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion act/plotting/timeseriesdisplay.py
Original file line number Diff line number Diff line change
Expand Up @@ -946,7 +946,7 @@ def plot_barbs_from_u_v(
else:
units = ''
ytitle = ''.join(['(', units, ')'])
if barb_step_x is None:
if barb_step_y is None:
num_y = ydata.shape[0]
barb_step_y = round(num_y / num_barbs_y)
if barb_step_y == 0:
Expand Down

0 comments on commit 139a250

Please sign in to comment.