FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[Doc]: figlegend examples call `fig.figlegend` instead of `plt.figlegend` or `fig.legend` · Issue #24433 · matplotlib/matplotlib · GitHub

Repository navigation

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

Closed

Description

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.

Activity

  1. added 3 commits that reference this issue on Nov 12, 2022
    34ed984
    1466fd7
    f5e1e2d
  2. added this to the v3.6.3 milestone on Nov 15, 2022
  3. added a commit that references this issue on Dec 19, 2022
    04b9d7f
  4. added a commit that references this issue on Apr 19, 2026
    12e70f6
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

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL