Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

check labels with handles in ax

handles, labels = ax.get_legend_handles_labels()
ax.legend(handles, labels)
Source by matplotlib.org #
 
PREVIOUS NEXT
Tagged: #check #labels #handles #ax
ADD COMMENT
Topic
Name
9+6 =