legend updates in matplotlibrc.template