JuliaDB.jl icon indicating copy to clipboard operation
JuliaDB.jl copied to clipboard

partitionplot doesn't work if variable is integer

Open piever opened this issue 7 years ago • 2 comments
trafficstars

julia> t = table(rand(1:100, 1000), rand(1:100, 1000); names = [:a, :b]);

julia> partitionplot(t, :a, :b)
ERROR: Extrema hasn't implemented `_fit!(::OnlineStat{T}, ::T)` yet.

The same works fine if instead :a and :b are columns of Float64

piever avatar May 15 '18 15:05 piever

Try adding the keyword arg stat = Extrema(Int). As soon as I find some time, I need to clean up a bit of the partitionplot code.

joshday avatar May 16 '18 15:05 joshday

OK, then it's probably better to keep it out of the tutorial for now and we can add it once it's cleaned up and we're sure about the API.

piever avatar May 16 '18 15:05 piever