-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Open
Labels
Description
Summary
From @timhoffm's comment: #31061 (comment)
Should we grow a method
Scale.val_in_range(val). This seems like a logically meaningful API.ScaleBasecould implement this as a generic fallback vialimit_range_for_scaleto support existing third-party scales. But specific scales could implement their logic much more efficiently; e.g.LinearScalewould just returnTrue, andLogScalewould returnval > 0.
Should be cleaner logic and faster computation.
Proposed fix
Implement and update Axes._point_in_data_domain to use it.
Reactions are currently unavailable