[Doc]: figlegend examples call fig.figlegend
instead of plt.figlegend
or fig.legend
#24433
Labels
Milestone
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.Figure doesn't have a
figlegend
method (but does havelegend
).Suggested improvement
The examples should probably call
plt.figlegend
, since it's the docs formatplotlib.pyplot.figlegend
.The text was updated successfully, but these errors were encountered: