https://matplotlib.org/devdocs/api/_as_gen/matplotlib.pyplot.figlegend.html
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).
The examples should probably call plt.figlegend, since it's the docs for matplotlib.pyplot.figlegend.
Fix pyplot.figlegend docstring
Activity
Fix pyplot.figlegend docstring
Fix pyplot.figlegend docstring
Fix pyplot.figlegend docstring
Fix pyplot.figlegend docstring
Fix pyplot.figlegend docstring