Skip to content

legend_key not impacting theme #32

Closed
@darothen

Description

@darothen

Yesterday I wrote a blog post creating a standard visualization from my research in plotnine; the final plot / code is available here. Everything works great, but there's one thing that I couldn't get to work: the legend_key element I passed to the final call to theme() didn't actually change the plot aesthetics. My understanding is that the way I wrote the code, i.e.

legend_key=element_rect(fill='white', color='white')

should've made each of the line marker glyphs in the legend have a white background. But, they remained grey. Is this a mis-understanding on my part, or a glitch?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions