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

dfSummary: histogram x-axis tick mark labels? #181

Open
jarbet opened this issue Jan 24, 2023 · 1 comment
Open

dfSummary: histogram x-axis tick mark labels? #181

jarbet opened this issue Jan 24, 2023 · 1 comment

Comments

@jarbet
Copy link

jarbet commented Jan 24, 2023

dfSummary creates histograms for continuous variables. However, currently the xaxis below the histogram does not contain any tick mark labels, so it is unclear which values correspond to the bars in the histogram.

Would it be possible to add an option to show xaxis tick mark labels? Something like this:

data(mtcars)
hist(mtcars$mpg)

Screen Shot 2023-01-24 at 11 20 48 AM

@dcomtois
Copy link
Owner

Not impossible, but it would require a lot of fine-tuning to ensure the tickmarks/labels are not aesthetically damning. Maybe a proof-of-concept (create a dfSummary with such histograms using an image editor) would be useful...

Further development is not on the radar on my end, at least for a while, but if anyone wants to have a go at it, help is always welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants