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
Hi,
Nice crate! I've been using plotly in rust for some time and yes, reducing boilerplate code is welcome!
I was wondering if you had plans to add the option of creating multiple subplots like ggplot does. Something like:
ScatterPlot::builder()
.data(&dataset)
.x("body_mass_g")
.y("flipper_length_mm")
.group("species")
.size(10)
.opacity(0.5)
.plot_title("Penguin Flipper Length vs Body Mass")
.x_title("Body Mass (g)")
.y_title("Flipper Length (mm)")
.legend_title("Species")
.facet_wrap("Species")
.build()
.plot();
should produce 3 subplots.
The text was updated successfully, but these errors were encountered:
Hi,
Nice crate! I've been using plotly in rust for some time and yes, reducing boilerplate code is welcome!
I was wondering if you had plans to add the option of creating multiple subplots like ggplot does. Something like:
ScatterPlot::builder()
.data(&dataset)
.x("body_mass_g")
.y("flipper_length_mm")
.group("species")
.size(10)
.opacity(0.5)
.plot_title("Penguin Flipper Length vs Body Mass")
.x_title("Body Mass (g)")
.y_title("Flipper Length (mm)")
.legend_title("Species")
.facet_wrap("Species")
.build()
.plot();
should produce 3 subplots.
The text was updated successfully, but these errors were encountered: