Skip to content

Commit 849e147

Browse files
committed
Update auto Ranges
1 parent eb4cbf7 commit 849e147

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bashplot/bashplot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ def plot(data, args, label):
151151
if args["y_limits"]:
152152
fig.set_y_limits(min_=args["y_limits"][0], max_=args["y_limits"][1])
153153
else:
154-
fig.set_y_limits(min_=np.min(data[:, 1]), max_=np.max(data[:, 1]))
154+
fig.set_y_limits(min_=np.min(data[:, 1:]), max_=np.max(data[:, 1:]))
155155

156156
if args["color"]:
157157
fig.color_mode = "rgb"

0 commit comments

Comments
 (0)