Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Thanks, that is sobering, but at least we know what to do. One thing I tried:

grep -rnw 'sage-6.4.1-x86_64-Linux' -e "def line3d"

sage-6.4.1-x86_64-Linux/src/sage/plot/plot3d/shapes2.py:47:def line3d(points, thickness=1, radius=None, arrow_head=False, *kwds): sage-6.4.1-x86_64-Linux/src/build/lib.linux-x86_64-2.7/sage/plot/plot3d/shapes2.py:47:def line3d(points, thickness=1, radius=None, arrow_head=False, *kwds): sage-6.4.1-x86_64-Linux/local/lib/python2.7/site-packages/sage/plot/plot3d/shapes2.py:47:def line3d(points, thickness=1, radius=None, arrow_head=False, **kwds):

Then, editing shapes2.py reveals other functions closely related to line3d() and the ? operator works for them in Sage to get their doc strings, but corners(), e.g., is defined within the Line class and the ? operator doesn't work with it. So, you are right, code browsing helps a bit, but it is quite counterintuitive.

click to hide/show revision 2
No.2 Revision

Thanks, that is sobering, but at least we know what to do. One thing I tried:

grep -rnw 'sage-6.4.1-x86_64-Linux' -e "def line3d"

line3d"

sage-6.4.1-x86_64-Linux/src/sage/plot/plot3d/shapes2.py:47:def line3d(points, thickness=1, radius=None, arrow_head=False, *kwds): **kwds): sage-6.4.1-x86_64-Linux/src/build/lib.linux-x86_64-2.7/sage/plot/plot3d/shapes2.py:47:def line3d(points, thickness=1, radius=None, arrow_head=False, *kwds): **kwds): sage-6.4.1-x86_64-Linux/local/lib/python2.7/site-packages/sage/plot/plot3d/shapes2.py:47:def line3d(points, thickness=1, radius=None, arrow_head=False, **kwds):

**kwds):

Then, editing shapes2.py reveals other functions closely related to line3d() and the ? operator works for them in Sage to get their doc strings, but corners(), e.g., is defined within the Line class and the ? operator doesn't work with it. So, you are right, code browsing helps a bit, but it is quite counterintuitive.