Skip to content

Plotly style formatter #21

Description

@isentropic

Plotly has a nice default formatter that is very well suited for terminal without relying on ugly unicode exponents. These unicode exponents look egregious on low resolution screens (like mine) (12.368×10⁻³)

How plotly handles it:

image

I believe this sort of formatting would be much better as a default

1e-15 =1f
1e-12 = 1p
1e-9 = 1n
1e-6 = 1u
1e3 = 1k
1e6 = 1M
1e9 = 1G
1e12 = 1T

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions