You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
use poloto::build;// PIPE me to a file!fnmain(){let data = vec![[0,0],[1,2],[2,3]];let a = build::plot("label").line(data);
poloto::data(a).build_and_label(("hello world","x","y")).annotate(|w|{let point=w.convert_point([1,2]);let circle=hypermelon::build::elem("circle").with(attrs!(("x",point.x),("y",point.y)))let text_pos=w.request_text_position();let text=hypermelon::build::elem("text").with(attrs!(("x",text_pos.x),("y",text_pos.y)))
circle.append(text)}).append_to(poloto::header().light_theme()).render_stdout();}
The text was updated successfully, but these errors were encountered:
Something like this:
The text was updated successfully, but these errors were encountered: