package io.continuum.bokeh

import scala.annotation.implicitNotFound

@implicitNotFound(msg="Can't find Scalar type class for type ${T}.")
class Scalar[T]

object Scalar {
    implicit val IntScalar = new Scalar[Int]
    implicit val DoubleScalar = new Scalar[Double]
}

package io.continuum.bokeh

import scala.annotation.implicitNotFound

@implicitNotFound(msg="Can't find Scalar type class for type ${T}.")
class Scalar[T]

object Scalar {
    implicit val IntScalar = new Scalar[Int]
    implicit val DoubleScalar = new Scalar[Double]
    implicit val StringScalar = new Scalar[String] // categorical axis
}

Allow categorical values in plotting API
Allow categorical values in plotting API
