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

Disable exponent notation #36

Closed
wtfpeter opened this issue Aug 10, 2020 · 5 comments
Closed

Disable exponent notation #36

wtfpeter opened this issue Aug 10, 2020 · 5 comments
Labels
enhancement New feature or request

Comments

@wtfpeter
Copy link

When working with large numbers for values, the axes automatically get exponentiated (is that correct? Not a math guy, sorry if that is wrong).
What I mean is the notation of e.g. 1e6 for 1'000'000.
I would like to be able to disable this, to display the values in 'clear' without exponent.

@mcastorina mcastorina added the enhancement New feature or request label Aug 11, 2020
@mcastorina
Copy link
Owner

Could you please provide a sample csv, so I can recreate it? This is happening automatically when the CSV is read in through pandas, so it may take some work to get it right.

Thanks!

@wtfpeter
Copy link
Author

Sure, here you go! Nothing fancy..

"#","Col1","Col2"
"27","108431","930451"
"26","126892","1001895"
"25","136731","978702"
"24","136706","978444"
"23","132377","978806"
"22","141134","980492"
"21","177306","975811"
"20","175844","973934"
"19","176123","972611"
"18","179297","955741"
"17","230613","921516"
"16","229046","808653"
"15","228734","807206"
"14","228721","807264"
"13","212163","807706"
"12","213634","808874"
"11","216201","745381"
"10","217655","741734"
"9","178666","739913"
"8","182155","776331"
"7","188234","755435"
"6","185513","955713"
"5","183261","955664"
"4","183057","955225"
"3","153884","931541"
"2","153416","898564"
"1","499484","897975"

@mcastorina
Copy link
Owner

mcastorina commented Jan 29, 2021

Fixed in 1bef4e4, it will be included in the next release.

Any numbers between 10e-3 and 10e9 will not be in exponent format.

I think those are reasonable defaults, but I'll work on adding a flag for user control.

@wtfpeter
Copy link
Author

wtfpeter commented Feb 8, 2021

Fixed in 1bef4e4, it will be included in the next release.

Any numbers between 10e-3 and 10e9 will not be in exponent format.

I think those are reasonable defaults, but I'll work on adding a flag for user control.

Thanks a lot, looking forward to the release!
Those defaults work for my use cases, but I guess for more mathematical uses a config flag makes sense.

@mcastorina
Copy link
Owner

The --exponent-range flag has been added and included in v0.1.8.

Thanks for requesting this feature!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants