I have several @recipes, which share the same plotattributes, such as framestyle, grid, legend_foreground_color, etc. If Plots.jl is imported, I could just use default, right? But is it possible that I only use RecipesBase.jl without Plots.jl in my project?
MWE:
using RecipesBase: @recipe
@recipe function f(x, y)
framestyle --> :box
legend_foreground_color --> nothing
grid --> nothing
x, y
end
@recipe function f(x)
framestyle --> :box
legend_foreground_color --> nothing
grid --> nothing
x
end