Skip to content

solution for #463 plotly in ioslides #524

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 19, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: plotly
Title: Create Interactive Web Graphics via 'plotly.js'
Version: 3.4.6
Version: 3.4.7
Authors@R: c(person("Carson", "Sievert", role = c("aut", "cre"),
email = "[email protected]"),
person("Chris", "Parmer", role = c("aut", "cph"),
Expand Down
6 changes: 6 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
3.4.7 -- 19 Mar 2016

BUGFIX:

* Added custom CSS which allows plotly to work nicely in ioslides.

3.4.6 -- 17 Mar 2016

NEW FEATURES:
Expand Down
9 changes: 9 additions & 0 deletions inst/htmlwidgets/lib/plotlyjs/plotly-htmlwidgets.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/*
just here so that plotly works
correctly with ioslides.
see https://github.com/ropensci/plotly/issues/463
*/

slide:not(.current) .plotly.html-widget{
display: none;
}
1 change: 1 addition & 0 deletions inst/htmlwidgets/plotly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ dependencies:
version: 1.6.1
src: "htmlwidgets/lib/plotlyjs"
script: plotly-latest.min.js
stylesheet: plotly-htmlwidgets.css