Skip to content

allow one-sided limit in scale_*_tint_*()#170

Open
Fan-iX wants to merge 1 commit intodieghernan:mainfrom
Fan-iX:main
Open

allow one-sided limit in scale_*_tint_*()#170
Fan-iX wants to merge 1 commit intodieghernan:mainfrom
Fan-iX:main

Conversation

@Fan-iX
Copy link
Copy Markdown
Contributor

@Fan-iX Fan-iX commented Feb 25, 2025

Allowing limits=c(lower_limit, NA) or limits=c(NA, upper_limit) in scale_*_tint_*() functions.

For example, scale_fill_hypso_tint_c("gmt_globe", limits=c(0,NA)) will get the same effect as scale_fill_hypso_tint_c("gmt_globe_hypso")

@codecov
Copy link
Copy Markdown

codecov Bot commented Feb 25, 2025

Codecov Report

❌ Patch coverage is 0% with 24 lines in your changes missing coverage. Please review.
✅ Project coverage is 98.92%. Comparing base (7007704) to head (ad1c82f).
⚠️ Report is 77 commits behind head on main.

Files with missing lines Patch % Lines
R/scales_cross_blended.R 0.00% 8 Missing ⚠️
R/scales_grass.R 0.00% 8 Missing ⚠️
R/scales_hypso.R 0.00% 8 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #170      +/-   ##
==========================================
- Coverage   99.64%   98.92%   -0.72%     
==========================================
  Files          50       50              
  Lines        3340     3364      +24     
==========================================
  Hits         3328     3328              
- Misses         12       36      +24     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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.

1 participant