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

Don't render bad charts? #12

Open
longouyang opened this issue Feb 13, 2016 · 2 comments
Open

Don't render bad charts? #12

longouyang opened this issue Feb 13, 2016 · 2 comments
Labels

Comments

@longouyang
Copy link
Member

the user probably doesn't intend to do something like hist(repeat(1e5, gaussian)) (every value is unique, so histogram isn't a good summary)...

@mhtess
Copy link

mhtess commented Feb 13, 2016

Or can you use a default binwidth option?

On Feb 12, 2016, at 17:19, Long Ouyang <[email protected]mailto:[email protected]> wrote:

the user probably doesn't intend to do something like hist(repeat(1e5, gaussian)) (every value is unique, so histogram isn't a good summary)...

Reply to this email directly or view it on GitHubhttps://github.com//issues/12.

@longouyang
Copy link
Member Author

I guess this issue is more food for thought than a pressing problem that I'm likely to address soon.

For instance, your binwidth suggestion works for continuous values but what if my distribution is discrete (e.g., sampling 10k words from the English language)? Or a mixture of a discrete and continuous?

I think ultimately an intelligent plotting system needs rich understanding of types and possibly pragmatic inference; here, I'm starting to write down examples that motivate this (e.g., this hist problem).

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

No branches or pull requests

2 participants