Skip to content

[Doc]: figlegend examples call fig.figlegend instead of plt.figlegend or fig.legend #24433

@roryyorke

Description

@roryyorke

Documentation Link

https://matplotlib.org/devdocs/api/_as_gen/matplotlib.pyplot.figlegend.html

Problem

In the linked doc, the examples all use fig.figlegend, e.g.

ax.plot([1, 2, 3], label='Inline label')
fig.figlegend()

Figure doesn't have a figlegend method (but does have legend).

Suggested improvement

The examples should probably call plt.figlegend, since it's the docs for matplotlib.pyplot.figlegend.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy