-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
[WIP] Upgrade the LassoSelector #5751
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
Conversation
I have no idea what this error means: ERROR: matplotlib.tests.test_coding_standards.test_pep8_conformance_installed_files
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/travis/build/matplotlib/matplotlib/venv/lib/python3.5/site-packages/nose/case.py", line 198, in runTest
self.test(*self.arg)
File "/home/travis/build/matplotlib/matplotlib/lib/matplotlib/tests/test_coding_standards.py", line 249, in test_pep8_conformance_installed_files
expected_bad_files=expected_bad_files)
File "/home/travis/build/matplotlib/matplotlib/lib/matplotlib/tests/test_coding_standards.py", line 155, in assert_pep8_conformance
'{0}'.format('\n '.join(unexpectedly_good)))
ValueError: Some exclude patterns were unnecessary as the files they pointed to either passed the PEP8 tests or do not point to a file:
*/matplotlib/widgets.py |
That means you need to remove the wigets.py from the black list of 'known bad' files in |
Gotcha, updated. |
else: | ||
print(self.verts) | ||
self.verts[-1] = (event.xdata, event.ydata) | ||
print(self.verts) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we really want to have these prints here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, why not? :)
Closing in favor of #5786. |
Reopening this one, because #5786 turned out to be a lot harder than I hoped. |
3eb1c23
to
327f2be
Compare
On second thought, I am going to close this one, and re-address the lasso after adding the paint and line tools. |
Adds ability to draw polygons, and to clear the selection (which I do in the last part of this demo).