title: Use different colors in scatterplot for Iris dataset
body: <p>I am learning data-analysis in Python and using the matplotlib and seaborn library and I made a Notebook in Kaggle. I tried to make a scatterplot that shows the ratio between the width and length of sepal leafs and petal leafs.</p>
  
  <pre><code>sns.FacetGrid(iris, hue="Species", size=10) 
  
  total_rows = iris.count
  number_of_iris = len(iris)
  
  sepalLengths = iris["SepalLengthCm"]
  sepalWidths = iris["SepalWidthCm"]
  
  petalLengths = iris["PetalLengthCm"]
  petalWidths = iris["PetalWidthCm"]
  
  plt.scatter(range(number_of_iris),(sepalLengths/sepalWidths))
  plt.xlabel("ID")
  plt.ylabel("Ratio")
  plt.show()
  </code></pre>
  
  <p>Output is <a href="https://i.stack.imgur.com/X9zOv.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/X9zOv.png" alt="enter image description here"></a></p>
  
  <p>This code works correct but I am trying to display the plot in three different colors to distinguish the 3 different species. I changed the code into this :</p>
  
  <pre><code>total_rows = iris.count
  number_of_iris = len(iris)
  
  sepalLengths = iris["SepalLengthCm"]
  sepalWidths = iris["SepalWidthCm"]
  
  petalLengths = iris["PetalLengthCm"]
  petalWidths = iris["PetalWidthCm"]
  
  sns.FacetGrid(iris, hue="Species", size=10) \
     .map(range(number_of_iris),(sepalLengths/sepalWidths)) \
     .add_legend()
  </code></pre>
  
  <p>but received the error :</p>
  
  <pre><code>---------------------------------------------------------------------------
  TypeError                                 Traceback (most recent call last)
  &lt;ipython-input-48-97e6cd0ab095&gt; in &lt;module&gt;()
       10 petalWidths = iris["PetalWidthCm"]
       11 
  ---&gt; 12 sns.FacetGrid(iris, hue="Species", size=10)    .map(range(number_of_iris),(sepalLengths/sepalWidths))    .add_legend()
  </code></pre>
  
  <p>How do I plot each specie into a different color?</p>
  
  <p>A small part of the data is :</p>
  
  <pre><code>47,5.1,3.8, 1.34, 1.6,0.2, 8.0, Iris-setosa 
  48,4.6,3.2, 1.44, 1.4,0.2, 7.0, Iris-setosa 
  49,5.3,3.7, 1.43, 1.5,0.2, 7.5, Iris-setosa 
  50,5.0,3.3, 1.52, 1.4,0.2, 7.0, Iris-setosa 
  51,7.0,3.2, 2.19, 4.7,1.4, 3.36, Iris-versicolor 
  52,6.4,3.2, 2.0, 4.5,1.5, 3.0, Iris-versicolor 
  53,6.9,3.1, 2.23, 4.9,1.5, 3.27, Iris-versicolor 
  54,5.5,2.3, 2.39, 4.0,1.3, 3.08, Iris-versicolor 
  </code></pre>