Skip to content

Group with 3 Stats not working for multi-observations? #266

Description

@stephancb
julia> g=Group(HeatMap(0:10, -5:5), Hist(0:10), Hist(-5:5))
Group
├─ HeatMap: n=0 | value=(x = 0:10, y = -5:5, z = [0 0 … 0 0; 0 0 … 0 0; … ; 0 0 … 0 0; 0 0 … 0 0])
├─ Hist: n=0 | value=(x = 0:10, y = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0])
└─ Hist: n=0 | value=(x = -5:5, y = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0])
julia> data=[((3,5),3,5),((7,-2),7,-2)]
2-element Vector{Tuple{Tuple{Int64, Int64}, Int64, Int64}}:
 ((3, 5), 3, 5)
 ((7, -2), 7, -2)
julia> fit!(g, data)
ERROR: MethodError: no method matching isless(::Tuple{Int64, Int64}, ::Int64)
.
.
.

The combination of a heatmap with a histogram besides each the x and y axis is commonly used. It does not seem to work, or do I miss something?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions