Ticket #3866 (needs_work enhancement)
[with patch, not ready for review] Create a 2d locator interact widget
| Reported by: | jason | Owned by: | itolkov |
|---|---|---|---|
| Priority: | major | Milestone: | sage-5.10 |
| Component: | interact | Keywords: | |
| Cc: | Work issues: | ||
| Report Upstream: | N/A | Reviewers: | |
| Authors: | Merged in: | ||
| Dependencies: | Stopgaps: |
Description
This is a *very* *extremely* rough-cut of a 2d locator widget. All the docstrings are blatantly wrong and the code is full of ugly things. But it works, sort of. It's a starting point for someone to finish.
An example:
@interact
def _(pos=locator(3)):
print pos
Attachments
Change History
comment:1 Changed 5 years ago by mabshoff
- Summary changed from Create a 2d locator interact widget to [with patch, do not review] Create a 2d locator interact widget
Hi Jason,
does this patch need a review?
Cheers,
Michael
comment:2 Changed 5 years ago by jason
- Summary changed from [with patch, do not review] Create a 2d locator interact widget to [with patch, not ready for review] Create a 2d locator interact widget
No, not yet; definitely not yet. I'm embarrassed to post the patch as it was; I only posted it because I was more embarrassed by almost losing the patch (I just barely found it).
comment:3 Changed 4 years ago by mhampton
I am thinking of giving this to a student of mine for an independent study project. To avoid duplication of effort I would appreciate being informed of any independent effort on it.
Thanks, Marshall Hampton
Changed 4 years ago by mhampton
-
attachment
trac_3866_4.0.1_rebase.patch
added
rebase against 4.0.1, along with some very minor cleanup
comment:4 Changed 4 years ago by mhampton
It looks like my student didn't get very far, unfortunately. I will attempt to improve this further, but I am attaching a rebased (and slightly cleaned-up) patch in case other people want to move ahead faster.
