Only import matplotlib where necessary for artifact plotting (#3703)
Only import matplotlib where necessary for artifact plotting (#3703)

* Only import matplotlib where necessary for artifact plotting

Signed-off-by: Corey Zumar <788ee0e05c0d85f4cc00fcea01dd78b80b5c7e71@databricks.com>

* Silly change for formatter

Signed-off-by: Corey Zumar <788ee0e05c0d85f4cc00fcea01dd78b80b5c7e71@databricks.com>
mlflow/mlflow,mlflow/mlflow,mlflow/mlflow,mlflow/mlflow,mlflow/mlflow,mlflow/mlflow,mlflow/mlflow