Skip to content
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

New fill pattern and other updates #77

Merged
merged 5 commits into from
Apr 22, 2024
Merged

New fill pattern and other updates #77

merged 5 commits into from
Apr 22, 2024

Conversation

trevorld
Copy link
Owner

  • For completeness there is now a new "fill" pattern with corresponding
    grid.pattern_fill() which draws a simple fill pattern.
  • For completeness there is now a grid.pattern_none() corresponding to the previously
    supported "none" pattern which draws nothing.
  • The default type for the "placeholder" pattern
    is now "bear" instead of "kitten".
    Explicitly set type = "kitten" to continue to use
    the "kitten" placeholder but note that although
    the "kitten" placeholder website isn't completely down
    it has been buggy recently.
  • README updates

closes #73, closes #69

* For completeness there is now a `grid.pattern_none()` corresponding to the "none" pattern
  which draws nothing.
* For completeness there is now a new "fill" pattern with corresponding
  `grid.pattern_fill()` which draws a simple fill pattern.
* List new "fill" pattern
* New section on how to use directly with "ggplot2" v3.5+
* Update how to use directly with "ggpattern"
* Don't include calling function name in error mesage
* More consistency between `img_read()` error messages
* Otherwise no big changes, message already communicates
  there was a problem with downloading image, not sure
  how that should change.

closes #69
BREAKING CHANGES:

* The default `type` for the "placeholder" pattern
  is now "bear" instead of "kitten".
  Explicitly set `type = "kitten"` to continue to use
  the "kitten" placeholder but note that although
  the "kitten" placeholder website isn't completely down
  it has been buggy recently

closes #73
@trevorld trevorld merged commit f3e86c3 into main Apr 22, 2024
3 checks passed
@trevorld trevorld deleted the fill-pattern branch April 22, 2024 15:48
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.

Change default placeholder image away from "kitten"? Better ERROR message if placeholder pattern not working
1 participant