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

axisnames and cex.axis, cex.names not work #14

Open
yikeshu0611 opened this issue Jan 16, 2021 · 1 comment
Open

axisnames and cex.axis, cex.names not work #14

yikeshu0611 opened this issue Jan 16, 2021 · 1 comment

Comments

@yikeshu0611
Copy link

df <- matrix(1:6,ncol=2,dimnames=list(NULL,c('x','y')))
library(prettyB)
barplot_p(df,axisnames = F)
barplot(df,axisnames=F)

csgillespie added a commit that referenced this issue Feb 9, 2021
@csgillespie
Copy link
Collaborator

Thanks for the report.

  • axisnames is now fixed in the dev version (soon to be CRAN)

But I'm not sure about how best to handle cex.axis and cex.names. This is what makes base graphics a bit messy, as they are then past to par().

Setting par(cex.axis = 2) before calling barplot_p will give the same effect. The issue I have is that

  • {prettyB} changes par()
  • cex.axis/ cex.names uses the default value of par(). But which par()?

Hopefully come up with a compromise soon.

csgillespie added a commit that referenced this issue Feb 10, 2021
* Fixes #13
* Address some of #14
* Moves to GitHub Actions
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

No branches or pull requests

2 participants