Skip to content
This repository has been archived by the owner on Nov 2, 2023. It is now read-only.

Functionality that mimics "span" in bokeh #240

Open
hamigua3000 opened this issue May 9, 2019 · 1 comment
Open

Functionality that mimics "span" in bokeh #240

hamigua3000 opened this issue May 9, 2019 · 1 comment

Comments

@hamigua3000
Copy link

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.

@Atrebas
Copy link

Atrebas commented Jun 3, 2019

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants