Re: Plot not working

2018-05-04 Thread Sharan Basappa
On Saturday, 5 May 2018 10:59:13 UTC+5:30, John Ladasky wrote: > On Friday, May 4, 2018 at 9:13:02 PM UTC-7, Sharan Basappa wrote: > > I am new to Python and using it to learn machine learning. > > > > Below is a sample program I am running to plot IRIS data set. > > The code runs but no plot com

Re: Plot not working

2018-05-04 Thread John Ladasky
On Friday, May 4, 2018 at 9:13:02 PM UTC-7, Sharan Basappa wrote: > I am new to Python and using it to learn machine learning. > > Below is a sample program I am running to plot IRIS data set. > The code runs but no plot comes up. I am not sure what the issue is with the > code. > > # Imports >

Plot not working

2018-05-04 Thread Sharan Basappa
I am new to Python and using it to learn machine learning. Below is a sample program I am running to plot IRIS data set. The code runs but no plot comes up. I am not sure what the issue is with the code. # Imports from matplotlib import pyplot as plt from sklearn.datasets import load_iris import