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

plotting: don't scale empty units #2488

Merged

Conversation

jenshnielsen
Copy link
Collaborator

It seems to me that we should not generate plot labels like. My label (1*10^6) if the unit is empty.

@codecov
Copy link

codecov bot commented Dec 1, 2020

Codecov Report

Merging #2488 (4ba2200) into master (4fc488d) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master    #2488   +/-   ##
=======================================
  Coverage   62.31%   62.31%           
=======================================
  Files         200      200           
  Lines       26365    26368    +3     
=======================================
+ Hits        16429    16431    +2     
- Misses       9936     9937    +1     

@astafan8
Copy link
Contributor

astafan8 commented Dec 1, 2020

not generate plot labels like. My label (1*10^6) if the unit is empty

i don't know, perhaps we should check with users because if we don't scale, then the values on the axes will become like 2.5e6, right? or will matplotlib nicely put 2.5 on the tick label and 1e6 on a side of the axis?

@github-actions github-actions bot merged commit da474e3 into microsoft:master Dec 3, 2020
@jenshnielsen jenshnielsen deleted the dont_scale_empty_units branch December 3, 2020 09:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants