We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
#766 has just been merged and is usable, I'd like to add the following features next:
Ui
plot_ui
plot_to_screen
plot_from_screen
The text was updated successfully, but these errors were encountered:
Access to Ui (at least to a &mut Ui) seems like a dangerous footgun to me, as that will invariable lead to users doing stuff like
&mut Ui
Plot::new(…).show(|ui, plot_ui| { ui.label("Where will this end up?"); });
I think a plot_ui.ctx() accessor to get a &CtxRef makes sense though.
plot_ui.ctx()
&CtxRef
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
#766 has just been merged and is usable, I'd like to add the following features next:
Ui
(or the context?) inside the closure as well. Either through theplot_ui
struct or as a second argument.plot_to_screen
conversion, to enable custom drawing in screen coordinates based on items in the plot.plot_from_screen
function. Pretty sure I messed up hard when writing it and it likely does not work as expected right now.The text was updated successfully, but these errors were encountered: