Log model performance chart

Is there a way to log model performance chart to Layer. For example, the plot generated by Python matplotlib. Thanks.