Skip to content

Instantly share code, notes, and snippets.

@sharlagelfand
Created August 14, 2018 15:05
Show Gist options
  • Save sharlagelfand/4fe0e68836513b7a21391c49ab449792 to your computer and use it in GitHub Desktop.
Save sharlagelfand/4fe0e68836513b7a21391c49ab449792 to your computer and use it in GitHub Desktop.
---
title: "Plotly and floating TOC"
output:
html_document:
toc: true
toc_float: true
---
# h1
## h1.2
# h2
## h2.2
```{r setup, include = FALSE}
library(plotly)
```
```{r message = FALSE, echo = FALSE}
plot_ly(mtcars,
y = ~mpg,
x = ~cyl
)
plot_ly(mtcars,
y = ~mpg,
x = ~cyl
)
plot_ly(mtcars,
y = ~mpg,
x = ~cyl
)
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment