Skip to content

Documentation: breadcrumbs to available shapes for various geoms? #411

Open
@jwhendy

Description

@jwhendy

Greetings,

I was looking for how to specify the shape, but had a hard time finding the list of all of them. R's ggplot2 includes a nice reference of all of them at the bottom of their scale_shape docs.

image

In addition, it doesn't really matter as you can just guess because they are numeric. I could see that plotnine uses some type of string specifier via the geom_point docs, but no link or reference to what the other acceptable string values were?

grab_2020-07-02_093846

In searching all the scale_shape variants, I struck out. When I specifically searched shape 'o', I found it in the source.

Could this handy table be added to, perhaps scale_shape for reference?


Related: this would be a breaking change, but any thoughts on cleaning up/standardizing the definitions? I'm guessing this is tied into something else which defines them and that's a long shot request...

I admit to a bit of cringe when I saw that we have both str: '1', '2', '3', '4' as well as int: 1, 2, 3, 4 in the shape specifiers.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions