rbokeh icon indicating copy to clipboard operation
rbokeh copied to clipboard

Functionality that mimics "span" in bokeh

Open hamigua3000 opened this issue 6 years ago • 1 comments

Hello, I was wondering whether there is something in rbokeh that mimics the "span" functionality in bokeh. I want to create an infinite horizontal line on my rbokeh graph, and I have not been able to find any way to do this in rbokeh so far.

hamigua3000 avatar May 09 '19 13:05 hamigua3000

Something like this?

library(rbokeh)

p <- figure() %>%
  ly_points(x = 1, y = 1) %>%
  ly_abline(v = 1, color = "red") %>%
  ly_abline(h = 1, color = "blue")
p

Atrebas avatar Jun 03 '19 13:06 Atrebas