Skip to content

Disambiguate classnames #562

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 5 commits into from
Apr 26, 2016
Merged

Disambiguate classnames #562

merged 5 commits into from
Apr 26, 2016

Conversation

cpsievert
Copy link
Collaborator

No description provided.

jcheng5 and others added 4 commits April 25, 2016 11:01
Change the class of the plot_ly object (built but not widgetized)
to plotly_hash, and simplify print/knit_print methods. This fixes
compatibility issues with RStudio's upcoming R Notebook feature.
#' @param ... additional arguments
#' @export
knit_print.plotly_built <- knit_print.plotly_hash

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jcheng5 I've been meaning to distinguish between "non-built" (e.g., plot_ly()) and "built" (e.g., plotly_build(plot_ly()) plotly objects for a while now. I haven't needed it up until this point since plotly_build() is idempotent (i.e., building a plot more than once should be the same as building it once). That being said, going forward I think it's a good idea to explicitly distinguish between these two types of objects.

@cpsievert cpsievert merged commit 5e0ad36 into master Apr 26, 2016
@cpsievert cpsievert deleted the bug branch April 26, 2016 06:30
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.

2 participants