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

[ENH] Distribution: Show equal bar widths on unique-valued bins #5139

Merged
merged 2 commits into from
Jan 8, 2021

Conversation

janezd
Copy link
Contributor

@janezd janezd commented Dec 18, 2020

Issue

Fixes #5131.

Description of changes
  • When bins represent unique values, their width now equals the width of the narrowest bin.
  • Also, bins for unique values are now centered at the number.

Screenshot 2020-12-18 at 17 21 31

Includes
  • Code changes
  • Tests
  • Documentation

@janezd janezd mentioned this pull request Dec 18, 2020
3 tasks
@codecov
Copy link

codecov bot commented Dec 18, 2020

Codecov Report

Merging #5139 (ba76f17) into master (c2812c5) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master    #5139   +/-   ##
=======================================
  Coverage   84.77%   84.78%           
=======================================
  Files         286      286           
  Lines       60084    60108   +24     
=======================================
+ Hits        50936    50962   +26     
+ Misses       9148     9146    -2     

@ajdapretnar ajdapretnar merged commit 4a9f492 into biolab:master Jan 8, 2021
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.

Distributions: unequal bin width
2 participants