Skip to content

Test failures on CairoMakie 0.15 #1199

Description

@felixcremer

I looked into the test failures and they are coming from some change in Makie/CairoMakie.
In CairoMakie 0.14 the following test still gives an LScene even if it is empty, but in 0.15 this is an Axis for a DimArray input and therefore the test fails. I assume this is similar for other tests as well.
We might want to delete those tests or rework them, because this is not working at all in CairoMakie.

julia>     dd_3d = DimArray(rand(5, 5, 5), (Z(1:5), X(1:5), Y(1:5)), name=:test)

┌ 5×5×5 DimArray{Float64, 3} test ┐
├─────────────────────────────────┴──────────────── dims ┐
   Z Sampled{Int64} 1:5 ForwardOrdered Regular Points,
   X Sampled{Int64} 1:5 ForwardOrdered Regular Points,
  ↗ Y Sampled{Int64} 1:5 ForwardOrdered Regular Points
└────────────────────────────────────────────────────────┘
[:, :, 1]
    1         2         3         4         5
 1    0.293659  0.692839  0.593081  0.899497  0.816648
 2    0.518836  0.706052  0.595151  0.165495  0.0509028
 3    0.960081  0.971762  0.298289  0.476938  0.116051
 4    0.848786  0.308505  0.870078  0.288138  0.166632
 5    0.427886  0.394803  0.688071  0.379693  0.093575

julia> dd_i = dd_3d
┌ 5×5×5 DimArray{Float64, 3} test ┐
├─────────────────────────────────┴──────────────── dims ┐
   Z Sampled{Int64} 1:5 ForwardOrdered Regular Points,
   X Sampled{Int64} 1:5 ForwardOrdered Regular Points,
  ↗ Y Sampled{Int64} 1:5 ForwardOrdered Regular Points
└────────────────────────────────────────────────────────┘
[:, :, 1]
    1         2         3         4         5
 1    0.293659  0.692839  0.593081  0.899497  0.816648
 2    0.518836  0.706052  0.595151  0.165495  0.0509028
 3    0.960081  0.971762  0.298289  0.476938  0.116051
 4    0.848786  0.308505  0.870078  0.288138  0.166632
 5    0.427886  0.394803  0.688071  0.379693  0.093575

julia> plt_i = volume
volume (generic function with 4 methods)

julia> obs_i = identity
identity (generic function with 1 method)

julia>                 fig, ax, plt = plt_i(obs_i(dd_i))

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