Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Use _axis_map
  • Loading branch information
scottshambaugh committed Mar 10, 2026
commit bb9daeeef1a8dd2b03e0128116c12772eee53e61
2 changes: 1 addition & 1 deletion lib/matplotlib/axes/_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -2451,7 +2451,7 @@ def _point_in_data_domain(self, x, y):
Returns False if the point is outside the data range
(e.g. negative coordinates with a log scale).
"""
for val, axis in [(x, self.xaxis), (y, self.yaxis)]:
for val, axis in zip([x, y], self._axis_map.values()):
vmin, vmax = axis.limit_range_for_scale(val, val)
if vmin != val or vmax != val:
return False
Expand Down
Loading