Permalink
Browse files

Use id generation from almond

That can be deterministic if needed
  • Loading branch information...
alexarchambault committed Dec 17, 2018
1 parent 21b40ab commit ae03031700de9d387a7e49bd1627c242e907c39a
Showing with 2 additions and 1 deletion.
  1. +2 −1 almond/src/main/scala/plotly/Almond.scala
@@ -95,7 +95,8 @@ object Almond {
div0
}

def randomDiv() = "plot-" + math.abs(Random.nextInt().toLong)
def randomDiv(): String =
almond.api.helpers.Display.newDiv("plot-")

def plot(
data: Seq[Trace],

0 comments on commit ae03031

Please sign in to comment.