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
This works with the default bin method (square root) and works with sturges, but does not work with freedmanDiaconis or scott. For the two methods where it does not work, I receive an "Invalid array length" error.
While the chart itself isn't meaningful when it only has 1 value, it is a use case that will come up occasionally.
The text was updated successfully, but these errors were encountered:
Occasionally, I need to show a histogram that contains only one value (the dataset below is an example):
This works with the default bin method (square root) and works with
sturges
, but does not work withfreedmanDiaconis
orscott
. For the two methods where it does not work, I receive an "Invalid array length" error.While the chart itself isn't meaningful when it only has 1 value, it is a use case that will come up occasionally.
The text was updated successfully, but these errors were encountered: