Skip to content

Commit 68c12fd

Browse files
committed
Merge pull request #524 from ropensci/fix/ioslides-tooltip
solution for #463 plotly in ioslides
2 parents 78e4612 + 60bf6f9 commit 68c12fd

File tree

4 files changed

+17
-1
lines changed

4 files changed

+17
-1
lines changed

Diff for: DESCRIPTION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: plotly
22
Title: Create Interactive Web Graphics via 'plotly.js'
3-
Version: 3.4.6
3+
Version: 3.4.7
44
Authors@R: c(person("Carson", "Sievert", role = c("aut", "cre"),
55
email = "[email protected]"),
66
person("Chris", "Parmer", role = c("aut", "cph"),

Diff for: NEWS

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
3.4.7 -- 19 Mar 2016
2+
3+
BUGFIX:
4+
5+
* Added custom CSS which allows plotly to work nicely in ioslides.
6+
17
3.4.6 -- 17 Mar 2016
28

39
NEW FEATURES:

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)