Skip to content

Commit c500425

Browse files
solution for #463 plotly in ioslides
1 parent 78e4612 commit c500425

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

Diff for: inst/htmlwidgets/lib/plotlyjs/plotly-htmlwidgets.css

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
/*
2+
just here so that plotly works
3+
correctly with ioslides.
4+
see https://github.com/ropensci/plotly/issues/463
5+
*/
6+
7+
slide:not(.current) .plotly.html-widget{
8+
display: none;
9+
}

Diff for: inst/htmlwidgets/plotly.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ dependencies:
33
version: 1.6.1
44
src: "htmlwidgets/lib/plotlyjs"
55
script: plotly-latest.min.js
6+
stylesheet: plotly-htmlwidgets.css

0 commit comments

Comments
 (0)