Skip to content

Commit a3134f6

Browse files
committed
FIX: use correct axis for units
1 parent a7071f0 commit a3134f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

data_prototype/wrappers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def _query_and_transform(self, renderer, *, xunits: List[str], yunits: List[str]
146146
data[x_like] = ax.xaxis.convert_units(data[x_like])
147147
for y_like in yunits:
148148
if y_like in data:
149-
data[y_like] = ax.xaxis.convert_units(data[y_like])
149+
data[y_like] = ax.yaxis.convert_units(data[y_like])
150150

151151
# Step 3
152152
# doing the nu work here is nice because we can write it once, but we

0 commit comments

Comments
 (0)