RecipesBase.jl
RecipesBase.jl copied to clipboard
Base package for defining transformation recipes on user types for Plots.jl
If you load a package that implements plot recipes, and call one of its plot functions **without loading Plots.jl**, the error is unhelpful:  The error should tell me to...
```julia @userplot Example @recipe function f(b::Example; kwarg=10, nbins=10) @show kwarg @show nbins end julia> example(; kwarg=5, nbins=5) kwarg = 5 nbins = 10 ```
The struct name declared for a `@userplot` is not constrained AFAIK, so it can clash with the function name that is generated as a result. MWE: ```julia julia> using RecipesBase...
I hope this is the correct place to ask a question like this. I am implementing a recipe for removing data points from a plot that are unnecessary (i.e. that...
I think this is a bug: ```julia struct VisibilityVector x::Vector{Float64} end @recipe function f(::Type{VisibilityVector}, x::VisibilityVector; mysize=14) tickfontsize:=mysize # The default is 8pt, so this type has large tick labels by...
From: https://github.com/JuliaTime/TimeZones.jl/pull/251#issuecomment-600731105 @daschw said > With the default DateTime formatter you would get nicer tick calculations, i.e. round ticks starting at the beginning of days/months/years. (In Plots a special optimize_datetime_ticks...
I just want to register this odd error and solution: ```Julia type A end @recipe function f(x::A) rand(10) end @recipe function f(xs::Vector{A}) for x in xs @series x end end...
It'd be really cool if instead of just this ```julia julia> plot( plot(plt1::Plots.Plot, plts_tail::Plots.Plot...; kw...) in Plots at C:\Users\necka\.julia\packages\Plots\Iuc9S\src\plot.jl:63 plot(sp::Plots.Subplot, args...; kw...) in Plots at C:\Users\necka\.julia\packages\Plots\Iuc9S\src\plot.jl:285 plot(args...; kw...) in Plots...
Currently this generates [a warning](https://github.com/JuliaPlots/RecipesBase.jl/blob/9564de691f30fa62c788e85f14b79415c6cecd61/src/RecipesBase.jl#L112) > "Type annotations on keyword arguments not currently supported in recipes. Type information has been discarded" It would be nice to have. The current workaround...
I was just thinking about this, and want to make a note before I forget. It would be cool to use https://github.com/JuliaWeb/GitHub.jl to download the stargazers (and watchers) for all...