【发布时间】:2016-01-18 22:48:34
【问题描述】:
我有这样一段代码:
import matplotlib as mpl
from matplotlib import pyplot as plt
mpl.rcParams['legend.numpoints'] = 1
plt.legend(bbox_to_anchor=(0., 1.02, 1., .102), loc=3,
ncol=5, mode="expand", numpoints=1, borderaxespad=0.)
【问题讨论】:
标签: python matplotlib legend