[ENH]: Rotate legend · Issue #22860 · matplotlib/matplotlib · GitHub
Skip to content

[ENH]: Rotate legend #22860

Description

@amunozj

Problem

I'm trying to plot a legend that is rotated 90 degrees so that it neatly arranges along a long vertical axis I have, but there is no rotation in the legend definition. It would be great if the legend was not forced to have horizontal text and have all elements displayed horizontally.

Someone mocked what this would look like: https://i.stack.imgur.com/FqCgO.png

Proposed solution

if legend had a rotation parameter that would rotate the bbox around the anchor, it would be amazing!! Thank you so much for your hard work!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions