Skip to content

Add integer locators and formatters to SliceWidget #37

@dstansby

Description

@dstansby

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

    pFad - Phonifier reborn

    Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

    Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy