Skip to content

PlotItemBase is unresolved when trying to implement trait PlotItem #101

@ccarezza

Description

@ccarezza

Describe the bug

Since 0.32, the PlotItem has a new dependency PlotItemBase . When importing PlotItemBase, the dependency is not found

To Reproduce
Steps to reproduce the behavior:

  1. Create a simple project that depends on egui_plot 0.32 or higher
  2. Include a import line such as: '''pub use egui_plot::PlotItemBase;'''
  3. Compile

Expected behavior

Compilation works

Screenshots

error[E0432]: unresolved import egui_plot::PlotItemBase

Additional context

I believe this issue happens because in lib.rs there is a 'pub use crate' that references 'PlotItem' but there is no reference to PlotItemBase, what prevents it from being imported properly

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions