Matplotlib Legend Obtenga manijas

h, l = ax.get_legend_handles_labels()
ax.legend(h, l)
Real Raccoon