You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is already an issue with documentation of dims()
I want to plot distributions as shown in example 2 in the tutorial. However, the example throws an error. I expect the tutorial example to run as it is without errors.
Steps to reproduce
Minimal (non)working example
using CairoMakie
CairoMakie.activate!(type="svg")
using AlgebraOfGraphics
x = [-pi..0, 0..pi]
y = [sin cos] # We use broadcasting semantics on `tuple.(x, y)`.dims() *mapping(x, y, color=dims(1), linestyle=dims(2)) |> draw
Error reporting
ERROR: MethodError: no method matching *(::AlgebraOfGraphics.DimsSelector{0}, ::Layer)
Closest candidates are:*(::Any, ::Any, ::Any, ::Any...) at operators.jl:591*(::SpecialFunctions.SimplePoly, ::Any) at ~/.julia/packages/SpecialFunctions/hefUc/src/expint.jl:8*(::ChainRulesCore.AbstractThunk, ::Any) at ~/.julia/packages/ChainRulesCore/C73ay/src/tangent_arithmetic.jl:125...
Bug description
There is already an issue with documentation of
dims()
I want to plot distributions as shown in example 2 in the tutorial. However, the example throws an error. I expect the tutorial example to run as it is without errors.
Steps to reproduce
Minimal (non)working example
Error reporting
Version info
The text was updated successfully, but these errors were encountered: