rbokeh icon indicating copy to clipboard operation
rbokeh copied to clipboard

tools not rendering correctly with knitr and grid_plot

Open jrowen opened this issue 9 years ago • 6 comments

In the knitr example below, the toolbar renders as large buttons instead of the slim bar that appears when rendered outside of knitr.


---
title: "Untitled"
output: html_document

---

```{r, message=FALSE, warning=FALSE}
library(rbokeh)
grid_plot(
  list(
    figure() %>%
      ly_points(x = rnorm(10), y = rnorm(10)),
    figure() %>%
      ly_points(x = rnorm(10), y = rnorm(10))
  )
)
```

jrowen avatar Nov 03 '15 21:11 jrowen

This is what I'm getting. Could you attach a screenshot with some environment info?

screen shot 2015-12-11 at 12 11 09 am

hafen avatar Dec 11 '15 08:12 hafen

Here's what I see. image

> sessionInfo()
R version 3.2.2 (2015-08-14)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 7 x64 (build 7601) Service Pack 1

locale:
[1] LC_COLLATE=English_United States.1252  LC_CTYPE=English_United States.1252    LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C                           LC_TIME=English_United States.1252    

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

loaded via a namespace (and not attached):
[1] drat_0.1.0      htmltools_0.2.6 tools_3.2.2     yaml_2.1.13     rmarkdown_0.8.1 digest_0.6.8 

jrowen avatar Dec 11 '15 13:12 jrowen

what version of rbokeh?

hafen avatar Dec 11 '15 19:12 hafen

v0.2.3.2

On Fri, Dec 11, 2015, 1:57 PM hafen [email protected] wrote:

what version of rbokeh?

— Reply to this email directly or view it on GitHub https://github.com/bokeh/rbokeh/issues/137#issuecomment-164034364.

jrowen avatar Dec 11 '15 20:12 jrowen

Does the same thing happen with the dev branch?

hafen avatar Dec 11 '15 22:12 hafen

I pulled the latest from bokeh/rbokeh this morning and am still seeing the same.

jrowen avatar Dec 14 '15 14:12 jrowen