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
{{ message }}
This repository has been archived by the owner on Jul 15, 2021. It is now read-only.
using MakieRecipes.RecipesBase
struct T end
RecipesBase.@recipefunctionplot(::T, n =1; customcolor =:green)
markershape -->:auto# if markershape is unset, make it :auto
markercolor := customcolor # force markercolor to be customcolor
xrotation -->45# if xrotation is unset, make it 45
zrotation -->90# if zrotation is unset, make it 90rand(10,n) # return the arguments (input data) for the next recipeend
sc =Scene()
recipeplot!(sc, T(); seriestype =:path);
This does not appear to happen when using the compatible version of AbstractPlotting (from ~1 year ago).
If anyone can spare advice, I'd be willing to play around a bit more with this. There are over 200 packages that depend on RecipesBase.jl, and it would be nice to leverage that in the Makie ecosystem.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
from
examples.jl
:gives
when using the latest
AbstractPlotting.jl
(not surprising, a lot has changed in a year). I tried to follow along with some differences such asAbstractPlotting has
space
key:JuliaPlots/CairoMakie.jl@0c9db4e
PlotUtils.cgradients is no longer:
https://github.com/JuliaPlots/PlotUtils.jl/pull/87/files
default_plot_signatures
and the "Any" plot type:JuliaPlots/AbstractPlotting.jl#459
but there are too many pieces that I am unfamiliar with.
From what I can tell, one problem is that https://github.com/JuliaPlots/AbstractPlotting.jl/blob/fb515a42f66e592bdbf1e1201286d267ae601756/src/interfaces.jl#L796
is invoked twice:
This does not appear to happen when using the compatible version of
AbstractPlotting
(from ~1 year ago).If anyone can spare advice, I'd be willing to play around a bit more with this. There are over 200 packages that depend on
RecipesBase.jl
, and it would be nice to leverage that in the Makie ecosystem.The text was updated successfully, but these errors were encountered: