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

develop charts for functions #7

Open
piccolbo opened this issue Jan 22, 2019 · 1 comment
Open

develop charts for functions #7

piccolbo opened this issue Jan 22, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@piccolbo
Copy link
Owner

The case of a single y value for each x (a finite function) has not been treated in any specific way. A scatter plot or stripplot will be used whether the data comes from a function or a relation. We can fix that.

  1. Develop a test to decide whether scatter or line chart is more appropriate and implement it in autoplot
  2. Implement charts that are used for functions such that line plot, area plot, stacked area plot and what not. The goal as always is not to cover everything but only the classics, and, at a minimum, what is needed by autoplot
  3. Add logic to autoplot to choose an appropriate graph to represent a function. We expect this to be of any interest only for discrete-> continuous and continuous to continuous case, replacing the strippplot and scatterplot with a barchart and line plot resp.
@piccolbo piccolbo added the enhancement New feature or request label Jan 22, 2019
This was referenced Oct 8, 2019
@piccolbo
Copy link
Owner Author

  1. is done as part of warn_not_distinct function, unless we want something more sophisticated
  2. is done in Line plots #11 and Area plot #12
    1 and 2 already merged.

What I mean by a sophisticated test is that the current test just looks for exact repetition in the x cordinate. If we have to plot one continuous random sample against another independent continuous random sample, the test would not detect any repetition but a sensible analyst would choose scatter over line. So we need to think further before this is incorporated in autoplot. Given also the complexity of the logic in autoplot, we may want to look into a reorg of that function to scale to more plot types before we add more. We'll release what we have for now.

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

No branches or pull requests

1 participant