Skip to content

Navigation Menu

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

Add integer locators and formatters to SliceWidget #37

Copy link
Copy link
Closed
@dstansby

Description

@dstansby
Issue body actions

For small data ranges, the x-axis of the slice widget shows floating point numbers:
Screenshot 2022-05-07 at 10 37 24

Since the data only ever falls on integer values, it would be good to set the ticks to be at integer locations, and the tick values to be formatted as integers. See https://matplotlib.org/stable/api/ticker_api.html for more info on how to do this.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

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