Bug description
PolarAxis is not supported.
Steps to reproduce
Running
AlgebraOfGraphics.draw(plt, axis=(type=PolarAxis, thetalimits=(-pi, pi)))
results in
MethodError: Cannot `convert` an object of type
Type{PolarAxis} to an object of type
Union{Type{Axis}, Type{Axis3}}
Changing this struct to include Type{PolarAxis} should fix the problem, but needs testing:
|
struct AxisSpec |
|
type::Union{Type{Axis}, Type{Axis3}} |
|
position::Tuple{Int,Int} |
|
attributes::NamedArguments |
|
end |
Edit: Adding PolarAxis is apparently not enough, results in
MethodError: no method matching initialize_block!(::PolarAxis; zlabel::String, zticks::MakieCore.Automatic, ylabel::String, xlabel::String, xticks::MakieCore.Automatic, yticks::MakieCore.Automatic)
Btw: I really like AoG!
Bug description
PolarAxisis not supported.Steps to reproduce
Running
results in
Changing this struct to include
Type{PolarAxis}should fix the problem, but needs testing:AlgebraOfGraphics.jl/src/entries.jl
Lines 31 to 35 in 7c143ee
Edit: Adding
PolarAxisis apparently not enough, results inBtw: I really like AoG!