Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
DOC - SpanSelector widget documentation #7047
Conversation
mdboom
added the
needs_review
label
Sep 6, 2016
LindyBalboa
changed the title from
Issue 7009 - SpanSelector documentation to DOC - SpanSelector widget documentation
Sep 6, 2016
NelleV
commented on an outdated diff
Sep 6, 2016
| - If *minspan* is not *None*, ignore events smaller than *minspan* | ||
| + onmove_callback : function of form func(min, max), where min/max are floats, default is None |
NelleV
Contributor
|
NelleV
commented on an outdated diff
Sep 6, 2016
|
I am slightly confused on why the pep8 test pass here, while they don't for all of my students :( widgets.py|1710 col 80| E501 line too long (96 > 79 characters) Apart from this, and my additional comment, the patch looks good! Thanks, |
QuLogic
added the
Documentation
label
Sep 6, 2016
|
The changed file is listed in the known bad files list, so any PEP8 issues in it get ignored. If your students wish to correct these issues, that would be much appreciated. |
QuLogic
and 1 other
commented on an outdated diff
Sep 6, 2016
| @@ -1794,7 +1799,7 @@ def new_axes(self, ax): | ||
| self.ax.add_patch(self.rect) | ||
| self.artists = [self.rect] | ||
| - def ignore(self, event): | ||
| + def _ignore(self, event): |
QuLogic
Member
|
LindyBalboa
commented
Sep 7, 2016
•
|
I can't seem to do a linebreak with doctest line 1732 and make it work. And I feel making that line shorter would just muddle it and look poor. It turns out there is in fact an example for SpanSelector in the examples folder, but since it is interactive, telling it to plot to the docs doesn't make much sense. Should I just make a link to the example, and if so, how would I make that link? |
|
I think the following is fine::
|
LindyBalboa
commented
Sep 8, 2016
|
So, Travis is giving this:
Does that mean it can be removed from the list or am I missing something? |
|
It seems you have fixed all pep8 problems in |
|
The failure on travis is unrelated. LGTM |
|
Failure is unrelated. Restarted the particular travis job to be sure |
tacaswell
merged commit ed9711d
into matplotlib:master
Sep 9, 2016
tacaswell
removed the
needs_review
label
Sep 9, 2016
tacaswell
added a commit
that referenced
this pull request
Sep 9, 2016
|
|
tacaswell |
a2e56ad
|
|
backported to v2.x as a2e56ad |
LindyBalboa commentedSep 6, 2016
•
edited
Initial focus was to add a reference to AxesWidget.active in the documentation. I went ahead and made it numpy standard while I was in there.
Removed: I made the
ignoremethod into_ignoreso that it would not be build into the docs, as a user will have zero reason to call it.Resolves #7009