Closed mbotkinl closed 5 years ago
py_color
is a function in Plots.jl:
You can see that it's from Plots.jl if you look at the backtrace:
julia> plot(rand(20,5), seriescolor= :RdYlBu)
Error showing value of type Plots.Plot{Plots.PyPlotBackend}:
ERROR: MethodError: no method matching py_color(::ColorGradient, ::Nothing)
Closest candidates are:
py_color(::ColorGradient) at /home/takafumi/.julia/packages/Plots/rmogG/src/backends/pyplot.jl:59
py_color(::Colorant, ::Any) at /home/takafumi/.julia/packages/Plots/rmogG/src/backends/pyplot.jl:60
py_color(::Any) at /home/takafumi/.julia/packages/Plots/rmogG/src/backends/pyplot.jl:56
Please report this in Plots.jl
Apologies, will do. Thanks for the help!
When I specify the series color as a Color Gradient, I get an error
This same syntax work for the GR backend of Plots. I am using julia 1.0.1, Plots 0.21.0 and PyPlot 2.6.3