# HG changeset patch
# User boothby@eight.math.washington.edu
# Date 1210829543 25200
# Node ID caf9f4398e5b878f7303accbd5b32140c3b35f1b
# Parent f11ce590c688c0da479330ab73fcb2ee8b6601b6
Clarified documentation for #2884
diff -r f11ce590c688 -r caf9f4398e5b sage/server/notebook/interact.py
a
|
b
|
class InteractCanvas: |
1120 | 1120 | |
1121 | 1121 | def interact(f): |
1122 | 1122 | r""" |
1123 | | Use interact as a decorate to create interactive Sage notebook |
| 1123 | Use interact as a decorator to create interactive Sage notebook |
1124 | 1124 | cells with sliders, text boxes, radio buttons, check boxes, and |
1125 | 1125 | color selectors. Simply put @interact on the line before a |
1126 | | function definition, and choose appropriate defaults for the |
1127 | | variable names to determine the types of controls (see tables |
1128 | | below). |
| 1126 | function definition in a cell by itself, and choose appropriate |
| 1127 | defaults for the variable names to determine the types of |
| 1128 | controls (see tables below). |
1129 | 1129 | |
1130 | 1130 | INPUT: |
1131 | 1131 | f -- a Python function |