Closed AWSisco closed 1 year ago
Thanks for the report. This was a very simple fix: ab6affd. Result:
import proplot as pplt
fig, axs = pplt.subplots(ncols=2)
for i in range(0,2):
axs[i].plot((0,1),(-0.5,0.5), label='a', c='k', cycle_kw={'ls': ('-','--',':')})
axs[i].plot((0,1),(0,1), label='b')
axs[i].plot((0,1),(0.5,1.5), label='c')
if i==0:
axs[i].legend(fc='yellow',ncol=2,order='F',fontsize='large',loc='lr')
else:
axs[i].legend(facecolor='yellow',ncol=2,order='F',fontsize='large',loc='lr')
axs.format(ylim=(-1,2),title=('fc','facecolor'))
Description
Legend
facecolor
has no effect, butfc
appears to work.Steps to reproduce
Equivalent steps in matplotlib
Proplot version
matplotlib 3.5.1 proplot 0.9.5.post301