Skip to content
This repository was archived by the owner on Oct 11, 2023. It is now read-only.

Commit 11ef1b7

Browse files
committed
Allow categorical values in plotting API
1 parent 6c647d8 commit 11ef1b7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bokeh/src/main/scala/Scalar.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ class Scalar[T]
88
object Scalar {
99
implicit val IntScalar = new Scalar[Int]
1010
implicit val DoubleScalar = new Scalar[Double]
11+
implicit val StringScalar = new Scalar[String] // categorical axis
1112
}

0 commit comments

Comments
 (0)