Skip to content

Error with py_color when using Color Gradient with PyPlots #1834

@mbotkinl

Description

@mbotkinl

When I specify the series color as a Color Gradient, I get an error

using Plots; pyplot()
plot(rand(20,5), seriescolor= :RdYlBu)
Error showing value of type Plots.Plot{Plots.PyPlotBackend}:
ERROR: MethodError: no method matching py_color(::ColorGradient, ::Nothing)

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions