This sample shows how to use matploblit to save a plot file (png format), and view it in the Run History detail page.
# Simple Linear Regression
This sample shows how to use matploblit to save a plot file (png format), and view it in the Run History detail page.
Run linear_reg.py in local conda environment.
```
$ conda install matplotlib
$ az ml experiment submit -c local linear_reg.py
```
Run linear_reg.py in a local Docker container.
```
$ az ml experiment submit -c docker linear_reg.py
```
Run linear_reg.py in a Docker container in a remote machine. Note you need to create/configure myvm.compute.
```
$ az ml experiment submit -c myvm linear_reg.py
```
When the run finishes, go to the Run History detail page and view the plotted graph.