When plotting using matplotlib:
How to remove a legend field?
plt.legend(frameon=False)
How to change the border color of a legend window?
leg = plt.legend() leg.get_frame().set_edgecolor('b')
How to remove only the legend window frame?
leg = plt.legend() leg.get_frame().set_linewidth(0.0)
Mattijn Aug 28 '14 at 3:31 on 2014-08-28 03:31
source share