-
Notifications
You must be signed in to change notification settings - Fork 18
Removed vertical slider code #65
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
Codecov Report
@@ Coverage Diff @@
## master #65 +/- ##
==========================================
- Coverage 95.12% 90.71% -4.41%
==========================================
Files 15 15
Lines 1293 1293
==========================================
- Hits 1230 1173 -57
- Misses 63 120 +57
Continue to review full report at Codecov.
|
The tests pass on python 3.6, 3.7 and 3.8. I propose to take this opportunity to drop support for 3.5 and 2.7, to both speed up the test cycle, and to recognise the imminent deprecation. |
@@ -5,8 +5,6 @@ python: | |||
- "3.8" | |||
- "3.7" | |||
- "3.6" | |||
- "3.5" | |||
- "2.7" |
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.
These python versions should also be taken out of the setup.py
file and the README.rst
should be updated accordingly.
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.
Well spotted.
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.
stumbled over a python35 environment which didn't work with anesthetic anymore...
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.
Can you remember what it was that didn't work?
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.
The newest matplotlib (v3.1.2) which incorporates the vertical slider has dependency python>=3.6.
Maybe worth incorporating in the requirements? i.e.
matplotlib>=3.1.2
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.
Added as part of #73
Description
The vertical option for slider widgets
is now in the stable version of matplotlib, so we no longer need to replicate
it.
This PR was prompted (via a cron job test) by an update to pydocstyle that
flagged that the now unnecessary code did not have compliant docstrings. I
propose to resolve the issue by removing the code
Checklist:
flake8 anesthetic tests
)pydocstyle --convention=numpy anesthetic
)python -m pytest
)