VideoIO/GLMakie setting show_axis for scene via plot attribute not supported anymore

cirobr
Wed, 09 Mar 2022 14:35:08 +0000
General Usage

Cheers,

A basic example code from below is giving the output error as in the title of the post. SW versions as follows:

Julia 1.6.5

VideoIO 1.0.0

GLMakie 0.5.4

Example code:

using GLMakie
using VideoIO
f = VideoIO.testvideo("annie_oakley")  # downloaded if not available
VideoIO.playvideo(f)  # no sound

Full output as follows:

setting show_axis for scene via plot attribute not supported anymore

Stacktrace:
[1] error(s::String)
@ Base ./error.jl:33
[2] plot!(scene::Scene, P::Type{Image{Tuple{UnitRange{Int64}, UnitRange{Int64}, PermutedDimsArray{ColorTypes.RGB{FixedPointNumbers.N0f8}, 2, (2, 1), (2, 1), Matrix{ColorTypes.RGB{FixedPointNumbers.N0f8}}}}}}, attributes::Attributes, input::Tuple{Observable{UnitRange{Int64}}, Observable{UnitRange{Int64}}, Observable{PermutedDimsArray{ColorTypes.RGB{FixedPointNumbers.N0f8}, 2, (2, 1), (2, 1), Matrix{ColorTypes.RGB{FixedPointNumbers.N0f8}}}}}, args::Observable{Tuple{Vector{Float32}, Vector{Float32}, Matrix{ColorTypes.RGB{Float32}}}})
@ Makie ~/.julia/packages/Makie/vwpRo/src/interfaces.jl:398
[3] plot!(::Scene, ::Type{Image{ArgType} where ArgType}, ::Attributes, ::UnitRange{Int64}, ::Vararg{Any, N} where N; kw_attributes::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
@ Makie ~/.julia/packages/Makie/vwpRo/src/interfaces.jl:319
[4] plot!
@ ~/.julia/packages/Makie/vwpRo/src/interfaces.jl:287 [inlined]
[5] plot!#148
@ ~/.julia/packages/Makie/vwpRo/src/interfaces.jl:270 [inlined]
[6] #image!#14
@ ~/.julia/packages/MakieCore/A0hGm/src/recipes.jl:37 [inlined]
[7] play(f::VideoIO.VideoReader{true, VideoIO.SwsTransform, String}; flipx::Bool, flipy::Bool, pixelaspectratio::Nothing)
@ VideoIO ~/.julia/packages/VideoIO/3LUls/src/VideoIO.jl:136
[8] playvideo(video::VideoIO.AVInput{String}; flipx::Bool, flipy::Bool, pixelaspectratio::Nothing)
@ VideoIO ~/.julia/packages/VideoIO/3LUls/src/VideoIO.jl:154
[9] playvideo(video::VideoIO.AVInput{String})
@ VideoIO ~/.julia/packages/VideoIO/3LUls/src/VideoIO.jl:153
[10] top-level scope
@ In[1]:5
[11] eval
@ ./boot.jl:360 [inlined]
[12] include_string(mapexpr::typeof(REPL.softscope), mod::Module, code::String, filename::String)
@ Base ./loading.jl:1116

Any help is appreciated. Thanks.

1 post - 1 participant