Skip to content

Rebased version of continuous brewer color scales #925

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 13 commits into from
Mar 21, 2014

Conversation

jiho
Copy link
Contributor

@jiho jiho commented Feb 27, 2014

No description provided.

jiho added 8 commits February 27, 2014 18:36
It fetches 6 colours from a colorbrewer palette and feeds them to gradientn. It gives very nice results even if the palettes were not intended for that use originally.
As per Hadley's request: "add a few words to the main doc mentioning
that it does both continuous and discrete variables""
Give more precisions regarding the intent of the original colours and how
ggplot2 modifies them (in the continuous case).
@@ -1,9 +1,20 @@
#' Sequential, diverging and qualitative colour scales from colorbrewer.org
#'
#' Create colour scales based on ColorBrewer colours.
Copy link
Member

Choose a reason for hiding this comment

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

Do you need this line? Could it be combined with the title above?

@hadley
Copy link
Member

hadley commented Mar 13, 2014

  • Motivate the change in one paragraph, and include it in NEWS.
    In parentheses, reference your github user name and this issue:
    (@hadley, #1234)
  • Check pull request only includes relevant changes.
  • Use the official style.
  • Update documentation and re-run roxygen2
  • Add minimal example, if new graphical feature

@hadley
Copy link
Member

hadley commented Mar 13, 2014

I should say, by and large all these pull requests look great - thanks! And please let me know what you think of the new process.

@jiho
Copy link
Contributor Author

jiho commented Mar 17, 2014

You're welcome. I think the new process is good. It's a bit more work for submitters of course but ensures better quality in the final code. It really makes it necessary to have a feature branche per pull-request though. You may want to emphasise this even more in the wiki/doc.

I like the checklist! Is that automated?

hadley added a commit that referenced this pull request Mar 21, 2014
Rebased version of continuous brewer color scales
@hadley hadley merged commit c46beb6 into tidyverse:master Mar 21, 2014
@hadley
Copy link
Member

hadley commented Mar 21, 2014

It's not automated, it just reminds me the things that I need to check.

Have you seen the new development vignette? It tries to lay out the best practices, like using a branch per request.

@jiho jiho deleted the feature/brewer-continuous branch March 21, 2014 16:32
@jiho
Copy link
Contributor Author

jiho commented Mar 21, 2014

I don't remember seeing the vignette, just some indication on the wiki. The vignette is indeed ~ how I do it and it works great.
Maybe the info there https://github.com/hadley/ggplot2/wiki/Improving-the-ggplot2-documentation#a-bigger-commitment should just point to that.

@lock
Copy link

lock bot commented Jan 19, 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 19, 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.

2 participants