Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a5a4f2c

Browse filesBrowse files
dstansbyQuLogic
andauthored
Fix logic line break
Co-authored-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
1 parent c432940 commit a5a4f2c
Copy full SHA for a5a4f2c

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎lib/matplotlib/axes/_base.py

Copy file name to clipboardExpand all lines: lib/matplotlib/axes/_base.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2581,8 +2581,8 @@ def _process_unit_info(self, datasets=None, kwargs=None, *, convert=True):
25812581
raise ValueError(f"Invalid axis name: {axis_name!r}") from None
25822582
# Update from data if axis is already set but no unit is set yet.
25832583
if (axis is not None and
2584-
data is not None and not
2585-
axis._have_units_and_converter()):
2584+
data is not None and
2585+
not axis._have_units_and_converter()):
25862586
axis.update_units(data)
25872587
for axis_name, axis in axis_map.items():
25882588
# Return if no axis is set.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.