Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Array editor: Change default float formatter from %.3f to %.6g #4684

Closed
bcolsen opened this issue Jul 1, 2017 · 3 comments
Closed

Array editor: Change default float formatter from %.3f to %.6g #4684

bcolsen opened this issue Jul 1, 2017 · 3 comments

Comments

@bcolsen
Copy link
Member

bcolsen commented Jul 1, 2017

Currently this array:

a = np.array([3.2e-9,45.6e56,22.3,57666.6,0.00000004])

looks like this in the array editor with the default %.3f formatting:

%.3f

I can't tell what most of those numbers are.

But it could look like this with %.6g formatting:

screenshot from 2017-07-01 02-04-30

If you think this is a good idea I should be able to do a PR.

@jitseniesen
Copy link
Member

I like this.

@ccordoba12
Copy link
Member

ccordoba12 commented Jul 1, 2017

Ok, @bcolsen please submit a PR for this.

@ccordoba12 ccordoba12 added this to the v3.2.1 milestone Jul 1, 2017
@ccordoba12
Copy link
Member

Sorry, I just saw there's already a PR for this.

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

No branches or pull requests

3 participants