Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Plotting very slow when using multiple plots. #547

Open
ErikbStorm opened this issue Jan 31, 2024 · 0 comments
Open

[BUG] Plotting very slow when using multiple plots. #547

ErikbStorm opened this issue Jan 31, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@ErikbStorm
Copy link

When using plotters the plots get generated extemely fast when not using multiple plots. But when I add a single split into the root, generating a single plot will take around 2 seconds to create, whereas before it was done in milliseconds.

let root_area = BitMapBackend::new(OUT_FILE_NAME, (IMAGE_WIDTH, IMAGE_HEIGHT)).into_drawing_area();
   
// this will cause the presenting of the plot to be 1000x slower.
let (upper, lower) = root_area.split_vertically(50.percent());

Using the latest verison.

@ErikbStorm ErikbStorm added the bug Something isn't working label Jan 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant