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
Because if I for some reason pass an empty array to histogram the error is cryptic:
gems/2.4.0/gems/unicode_plot-0.0.5/lib/unicode_plot/histogram.rb:12:in `histogram': undefined method `-' for nil:NilClass (NoMethodError)
from main.rb:85:in `block in <main>'
from main.rb:84:in `zip'
from main.rb:84:in `<main>'
The text was updated successfully, but these errors were encountered:
Because if I for some reason pass an empty array to
histogram
the error is cryptic:The text was updated successfully, but these errors were encountered: