handles, labels = ax.get_legend_handles_labels() ax.legend(handles, labels) ... complex plots that creates multiple artists (e.g., bar, errorbar, etc) ...
確定! 回上一頁