8000 facet_grid or wrap · Issue #22 · alceal/plotlars · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
facet_grid or wrap #22
Open
Open
@geohardtke

Description

@geohardtke

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0