Skip to content

Support additional type_hist() args#296

Merged
grantmcdermott merged 1 commit intomainfrom
hist_args
Feb 2, 2025
Merged

Support additional type_hist() args#296
grantmcdermott merged 1 commit intomainfrom
hist_args

Conversation

@grantmcdermott
Copy link
Copy Markdown
Owner

Closes #293

(I'm not including probability since its duplication with freq and is a pain to support with arg passing through our sub function logic.)

- also fix inconsistency in ylab naming for both histogram and density types (this should be done once in the respective *_type.R code)
@grantmcdermott
Copy link
Copy Markdown
Owner Author

Forgot a MWE:

library(tinyplot)
plt(Nile, type = type_hist(freq = FALSE, right = TRUE))

tmp

@grantmcdermott grantmcdermott merged commit 9225196 into main Feb 2, 2025
@grantmcdermott grantmcdermott deleted the hist_args branch February 2, 2025 22:45
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.

Additional type_histogram() arguments

1 participant