-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Plot: Legend improvements #410
Conversation
* Font options * Position options * Internal cleanup
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice additions!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice additions!
Co-authored-by: Emil Ernerfeldt <[email protected]>
Co-authored-by: Emil Ernerfeldt <[email protected]>
Co-authored-by: Emil Ernerfeldt <[email protected]>
Thanks for the review! I made the changes. I also tried to give the legend a background, but couldn't find a way to do it without doing all the size calculation myself. Do you happen to know a way to do this? |
Sure, just add it to a let frame = egui::Frame { … };
frame.show(ui, |ui| { /* legend ui */ }); |
I think this is a bug in
? (that fix may introduce other problems, so please don't commit it) |
I think we should get this in even without the legend background |
Closes #409.
new_legend.mp4
This is based on the work in #363, so we should wait for that to be merged first. Sorry about the large PRs.