How to plot accuracy and loss with mxnet