Skip to content

Commit 4c2093f

Browse files
committed
Revert "Fix logic line break"
This reverts commit a5a4f2c.
1 parent c13683a commit 4c2093f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/axes/_base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2546,8 +2546,8 @@ def _process_unit_info(self, datasets=None, kwargs=None, *, convert=True):
25462546
raise ValueError(f"Invalid axis name: {axis_name!r}") from None
25472547
# Update from data if axis is already set but no unit is set yet.
25482548
if (axis is not None and
2549-
data is not None and
2550-
not axis._have_units_and_converter()):
2549+
data is not None and not
2550+
axis._have_units_and_converter()):
25512551
axis.update_units(data)
25522552
for axis_name, axis in axis_map.items():
25532553
# Return if no axis is set.

0 commit comments

Comments
 (0)