Skip to content

Commit

Permalink
fix: For 'pattern' scales 'na.value' is now "none"
Browse files Browse the repository at this point in the history
* The default `na.value` for `scale_pattern_continuous()`, `scale_pattern_discrete()`, and `scale_pattern_manual()` is now "none" (#107).

closes #107
  • Loading branch information
trevorld committed Apr 23, 2024
1 parent 0858b1c commit 6231612
Show file tree
Hide file tree
Showing 15 changed files with 2,008 additions and 1,754 deletions.
1 change: 1 addition & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ Collate:
'pattern.R'
'polygon_df.R'
'scale-pattern-alpha.R'
'scale-pattern-auto.R'
'scale-pattern-brewer.R'
'scale-pattern-colour.R'
'scale-pattern-gradient.R'
Expand Down
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
* `draw_key_boxplot_pattern()`, `draw_key_crossbar_pattern()`, and `draw_key_polygon_pattern()` `aspect_ratio` argument
now defaults to `get_aspect_ratio()`.
* Several (continuous) scales now have an `...` argument which will be passed to `ggplot2::continuous_scale()`.
* The default `na.value` for `scale_pattern_continuous()`, `scale_pattern_discrete()`, and `scale_pattern_manual()` is now "none" (#107).

# ggpattern 1.0.1

Expand Down
Loading

0 comments on commit 6231612

Please sign in to comment.