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

Conversation

timelyportfolio
Copy link
Collaborator

This pull represents the most minimal solution possible to #463, so tooltips will appear in ioslides presentations. I tested with various examples in different contexts and did not notice any harmful regressions or side effects. Duplicates #523 to see if credentials work correctly with tests.

@cpsievert
Copy link
Collaborator

Nice! Those differences are false positives as well :)

(they use random data, which I should really fix someday...)

@cpsievert
Copy link
Collaborator

@timelyportfolio if you see

Rserv started in daemon mode.
Error in socketConnection(host, port, open = "a+b", blocking = TRUE) : 
  cannot open the connection

in the build log, restarting the build usually fixes it

(the pull request build spins up a child R session and runs tests against master in order to report the differences you see above ^^^)

@cpsievert cpsievert closed this Mar 19, 2016
@cpsievert cpsievert reopened this Mar 19, 2016
@cpsievert
Copy link
Collaborator

Also, in the future, if I give 👍 in a pull request, feel free to bump the version, update the NEWS file, and merge with master :)

@cpsievert
Copy link
Collaborator

One more thing...feel free to put "fix #xyz" or "close #xyz" in the commit message so they'll automatically close for us

cpsievert added a commit that referenced this pull request Mar 19, 2016
@cpsievert cpsievert merged commit 68c12fd into master Mar 19, 2016
@cpsievert cpsievert deleted the fix/ioslides-tooltip branch March 19, 2016 06:22
@yihui
Copy link

yihui commented Feb 28, 2019

I just discovered this issue this week. Unfortunately this PR introduced an undesirable consequence: when you print ioslides to PDF, plotly widgets will be hidden unless they happen to be on the current slide. I just applied an alternative fix at rstudio/rmarkdown@8313bbe, and tested the example in #463. I hope this PR could be reverted after the next version of rmarkdown is released to CRAN. Thanks!

yihui added a commit to rstudio/rmarkdown that referenced this pull request Feb 28, 2019
…ly widgets

I think plotly/plotly.R#524 should be reverted eventually because it essentially hides plotly widgets when printing ioslides to PDF (unless a widget happens to be on the current slide)
yihui added a commit to rstudio/rmarkdown that referenced this pull request Feb 28, 2019
@cpsievert cpsievert mentioned this pull request Feb 28, 2019
yihui added a commit to RLesur/rmarkdown that referenced this pull request Apr 1, 2019
…ly widgets

I think plotly/plotly.R#524 should be reverted eventually because it essentially hides plotly widgets when printing ioslides to PDF (unless a widget happens to be on the current slide)
yihui added a commit to RLesur/rmarkdown that referenced this pull request Apr 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants