Skip to content

[Doc]: Document how many out of bounds ticks Locators should return #25146

Open
@dstansby

Description

@dstansby

Documentation Link

No response

Problem

During discussion of #24436, and I think many other PRs and issues, we have (as a dev team) collectively been confused about what the behaviour of Locators should be when it comes to out of bounds ticks. We should decide and document the behaviour, partly for ourselves, and partly for third-parties using Locators (cf. #11518).

My opening suggestion is that we document:

Locators must return at least a single tick below vmin and a single tick above vmax

This is cautious in that it always provides a tick to clip when drawing at each end of the range.

Suggested improvement

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions