Skip to content

Remove show plot history command#706

Merged
renkun-ken merged 3 commits intoREditorSupport:masterfrom
renkun-ken:remove-plot-history
Jul 15, 2021
Merged

Remove show plot history command#706
renkun-ken merged 3 commits intoREditorSupport:masterfrom
renkun-ken:remove-plot-history

Conversation

@renkun-ken
Copy link
Copy Markdown
Member

What problem did you solve?

Closes #686

Since the old plot viewer based on png replays is quite limited and in some cases it does not produce desired result (e.g. plot in a for loop, multi-page plots), I suggest we remove this feature in favor of the httpgd approach.

This PR removes the command "R: Show plot history" and related code that copies replayed png files in a history folder and removes the dependency on fotorama.

For better plot history support, use httpgd instead as introduced in the wiki.

(If you do not have screenshot) How can I check this pull request?

Disable httpgd plot viewer.

plot(rnorm(100))

should correctly produce a png file which is open in a new tab. The "R: Show plot history" command is gone.

@renkun-ken renkun-ken requested a review from ElianHugh July 15, 2021 08:35
Copy link
Copy Markdown
Collaborator

@ElianHugh ElianHugh left a comment

Choose a reason for hiding this comment

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

LGTM, no unexpected issues while testing. Thanks!

@renkun-ken renkun-ken merged commit 332d36e into REditorSupport:master Jul 15, 2021
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.

Remove "R: Show plot history"

2 participants