Skip to content

Create correct legend for continuous color even if there is only one color #1077

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
Jun 11, 2015
Merged

Create correct legend for continuous color even if there is only one color #1077

merged 2 commits into from
Jun 11, 2015

Conversation

krlmlr
Copy link
Member

@krlmlr krlmlr commented Mar 31, 2015

fixes #943

I have no idea where to plug in a test for this. Perhaps in the examples?

@hadley
Copy link
Member

hadley commented Jun 11, 2015

It should probably go in the visual tests, but they're not in very good shape right now.

Would you mind merging/rebasing (mostly to trigger travis)

@krlmlr
Copy link
Member Author

krlmlr commented Jun 11, 2015

Done. What are the main issues, and your further plans concerning visual testing?

GitHub shows diffs for images. Travis could push back any changes detected by the visual differ. This doesn't work for pull requests, so contributors will have to sign up for Travis to use this.

hadley added a commit that referenced this pull request Jun 11, 2015
Create correct legend for continuous color even if there is only one color
@hadley hadley merged commit 2b6b986 into tidyverse:master Jun 11, 2015
@hadley
Copy link
Member

hadley commented Jun 11, 2015

The main issues are I don't remember how they're supposed to work (maybe @wch does), and they probably need to be re-thought now that we can rely on travis to automatically run the tests. It may also be able to outsource some of the diffing given that there are a growing number of "visual diffs as service" companies (although they're mostly aimed at web pages)

@krlmlr krlmlr deleted the 943-single-color-continuous-scale branch July 28, 2015 08:11
@lock
Copy link

lock bot commented Jan 18, 2019

This old issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with reprex) and link to this issue. https://reprex.tidyverse.org/

@lock lock bot locked and limited conversation to collaborators Jan 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Empty raster
2 participants