spot icon indicating copy to clipboard operation
spot copied to clipboard

Histograms are emptied when generating 1-unique-valued histogram

Open bstienen opened this issue 7 years ago • 2 comments

When generating a histogram of a variable that only contains 1 unique value, the axis of that histogram gets labeled with that value multiple times, but this histogram remains empty because there are no well defined bins to put the data in. To make matters worse, when creating this histogram, all other histograms in the same screen are flushed and get emptied as well. Removing the newly created histogram solves the issue.

Although it is clear to me that this has to do with the min/max values of the variable that is being plotted, it took me some time (and help) to realize this. Is there a way to solve this in an automated fashion? I bet that if i have trouble finding the source of this problem, a generic user would have this problem as well.

bstienen avatar Nov 24 '17 12:11 bstienen