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
Prevent or document automatic line3d smoothing #3861
Comments
comment:1
I like the idea of a smoothnes parameter, 0=False meaning don't smooth at all, 1=True being some good default, and something higher (say 2) to forceable splite the whole thing. I agree it could be better documented, but I think smoothing is very useful when you are trying to visualize curves. Of course, if you're plotting stock data then it is really bad. |
comment:2
I also agree with Robert. Notice also that:
|
comment:3
That last error is already #3859 |
This comment has been minimized.
This comment has been minimized.
comment:10
Related:
|
line3d for instance calls Line in
src/sage/plot/plot3d/shapes2.py
Which automatically applies some smoothing using corner_cutoff, which is buggy and poorly documented as in #3859
(See above Ticket for an example of how this can be bad.)
It is important that I plot lines directly, and automatic smoothing should either not be automatic, or should be documented,
even for functions that do not reference the smoothing directly like in Line3d. Perhaps a 'smooth' keyword is more informative than the undocumented corner_cutoff.
The smoothing is done in the Line class object, and not in pmol, so it can (and should!) be selectively applied.
Fixing the referenced ticket is a workaround (set corner_cutoff = 1), but is very clunky, and currently does not even work.
CC: @kcrisman @slel
Component: graphics
Keywords: line3d, Line, smoothing, corner_cutoff
Issue created by migration from https://trac.sagemath.org/ticket/3861
The text was updated successfully, but these errors were encountered: