You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was thinking it would be possible to modify the width of the bars (just like the height is), however I can't find a clean way to get the parent's width.
I am happy to open a PR with my current, not-so-great solution, but I was wondering if you had any guidance on how to do that.
The text was updated successfully, but these errors were encountered:
Description
There is overlap in the member distribution histogram when the number of visualized bins is greater than 10.
To Reproduce
With keppler-mapper version
2.0.1
.Expected behavior
It would be great if all the histogram bars would adjust their size to accommodate all the desired bins.
Screenshots
The above code generates the following:
But I have some internal code that generates this, where the overlap is more evident:
Additional context
I was digging around and found that the code that generates the histogram is in the function
set_histogram
kepler-mapper/kmapper/static/kmapper.js
Lines 187 to 202 in ece5d47
I was thinking it would be possible to modify the width of the bars (just like the height is), however I can't find a clean way to get the parent's width.
I am happy to open a PR with my current, not-so-great solution, but I was wondering if you had any guidance on how to do that.
The text was updated successfully, but these errors were encountered: