Skip to content

Commit

Permalink
Revert "Fix logic line break"
Browse files Browse the repository at this point in the history
This reverts commit a5a4f2c.
ksunden committed Feb 21, 2023
1 parent c13683a commit 4c2093f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/matplotlib/axes/_base.py
Original file line number Diff line number Diff line change
@@ -2546,8 +2546,8 @@ def _process_unit_info(self, datasets=None, kwargs=None, *, convert=True):
raise ValueError(f"Invalid axis name: {axis_name!r}") from None
# Update from data if axis is already set but no unit is set yet.
if (axis is not None and
data is not None and
not axis._have_units_and_converter()):
data is not None and not
axis._have_units_and_converter()):
axis.update_units(data)
for axis_name, axis in axis_map.items():
# Return if no axis is set.

0 comments on commit 4c2093f

Please sign in to comment.