-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
plots smoothing #3906
Comments
So, I see a few ways how we can approach that:
The cons:
The pros:
|
The 2nd approach makes sense for many different transformations. However, we should not use it as a default approach for smoothing since smoothing is a super common use case and we don't want to complicate the pipeline every time. If it possible I'd add the smoothing in the default one. If not possible - create a new template. |
@dmpetrov Tried adding smoothing by default, but "normal" use cases can get ugly. So I guess we should go with new template. |
@pared could you please share the result with code? Were you able to solve the revision issue? |
@dmpetrov sure!
And the results for "normal" use case looks as follows (example have 100 points, evenly spaced): |
@dmpetrov It seems to me that setting default smoothing to very small value is a reasonable decision for the default plot, |
A
I don't understand why |
agree with @jorgeorpinel about making |
Per #3906 (comment) sounds like we're going with a template for this one, so should we extract the part about making plots modify more like config? Pawel suggested I commented here but I'd be happy to create a separate ticket. |
@jorgeorpinel & @efiop yes, it has to be configurable (otherwise we need dozens of the templates :) ). We already support |
Our default plot is not very informative when the number of data points is huge (1k):
We need to introduce some smoothing into the default plot or create a new smoothing template. The result should look like:
PS: I've done the last plot by adding
loess
transformation to the template which breaks the revision. We need to fix the revision or find another solution.The text was updated successfully, but these errors were encountered: