Skip to content

[BUG] Feature "colormaps" misses dependency on full_palette #687

Open
@werner291

Description

@werner291

Pretty simple; putting this in Cargo.toml:

plotters = { version = "0.3.7", default-features = false, features = ["svg_backend", "all_series","colormaps"] }

Produces this compiler error:

error[E0432]: unresolved import `super::full_palette`
   --> /home/werner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/plotters-0.3.7/src/style/colors/colormaps.rs:353:12
    |
353 | use super::full_palette::*;
    |            ^^^^^^^^^^^^ could not find `full_palette` in `super`

I think the "colormaps" feature is missing a dependency on "full_palette"

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions