plotters-rs / plotters

A rust drawing library for high quality data plotting for both WASM and native, statically and realtimely 🦀 📈🚀
https://plotters-rs.github.io/home/
MIT License
3.88k stars 281 forks source link

[BUG] - unresolved import `plotters_bitmap` #410

Open 0xzoz opened 2 years ago

0xzoz commented 2 years ago

Describe the bug Unable to build plotters in another project that is using it.

To Reproduce git clone https://github.com/diem/diem.git cargo install --path shuffle/cli

Error

   Compiling plotters v0.3.3
error[E0432]: unresolved import `plotters_bitmap`
 --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/plotters-0.3.3/src/evcxr.rs:4:5
  |
4 | use plotters_bitmap::BitMapBackend;
  |     ^^^^^^^^^^^^^^^ use of undeclared crate or module `plotters_bitmap`

Version Information Ubuntu 20.04

AaronErhardt commented 2 years ago

This issue was automatically closed by #412 but it should be open until the next version of plotters lands on crates.io.

@0xzoz can you test whether pulling plotters from git fixes the issue for you?

@38 can you publish a new release on crates.io?

38 commented 2 years ago

@AaronErhardt Thanks for looking into this. I've published a new version for plotters core crate (0.3.4)

Just let you guys know I don't have enough bandwidth for this month. Please let me know if there's anything I need to do, and feel free to email me directly if anything is urgent.

Cheers, Hao