Consider the following plot recipe:
using RecipesBase
struct DummyType end
@recipe function f(dummy::DummyType)
@series begin
seriestype := :contourf
color --> :bluesreds
[i+j for i in 1:10, j in 1:10]
end
end
It works fine as illustrated below:
using Plots; gr()
plot(DummyType())
However, if I try to set the default color map to something else like in
plot(DummyType(), color=:plasma)
the option doesn’t take effect, and I get back the same color map as before.
Could you please explain what is happening?