package io.continuum.bokeh
package sampledata
package iris

object Flowers extends SampleData {
    def load(): FlowersData = {
        val List(sepal_length, sepal_width, petal_length, petal_width, species) = loadRows("iris.csv").transpose
        FlowersData(petal_length.map(_.toDouble),
                    petal_width.map(_.toDouble),
                    sepal_length.map(_.toDouble),
                    sepal_width.map(_.toDouble),
                    species)
    }
}

case class FlowersData(
    petal_length: List[Double],
    petal_width: List[Double],
    sepal_length: List[Double],
    sepal_width: List[Double],
    species: List[String])

package io.continuum.bokeh
package sampledata
package iris

object Flowers extends SampleData {
    def load(): FlowersData = {
        val List(petal_length, petal_width, sepal_length, sepal_width, species) = loadRows("iris.csv").transpose
        FlowersData(petal_length.map(_.toDouble),
                    petal_width.map(_.toDouble),
                    sepal_length.map(_.toDouble),
                    sepal_width.map(_.toDouble),
                    species)
    }
}

case class FlowersData(
    petal_length: List[Double],
    petal_width: List[Double],
    sepal_length: List[Double],
    sepal_width: List[Double],
    species: List[String])

--- 
+++ 
@@ -4,7 +4,7 @@
 
 object Flowers extends SampleData {
     def load(): FlowersData = {
-        val List(petal_length, petal_width, sepal_length, sepal_width, species) = loadRows("iris.csv").transpose
+        val List(sepal_length, sepal_width, petal_length, petal_width, species) = loadRows("iris.csv").transpose
         FlowersData(petal_length.map(_.toDouble),
                     petal_width.map(_.toDouble),
                     sepal_length.map(_.toDouble),
Fix column order in Flowers sample dataset
