-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
2.0 Examples fixes. See #6762 #6786
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
These are fixes for all issues found in axes_grid, color, and event_handling sections on the examples page. axis_grid/demo_colorbar_with_inset_locator.py - changed interpolation from the default(previously bilinear now none) to 'bilinear' to match 1.5.1 example axes_grid1/simple_axesgrid.py - set interpolation to bilinear axisartist/demo_curvelinear_grid.py - Set linewidth=2.0 and grid zorder=0 so the plotted lines actually visible event_handling/keypress_demo.py - added usage instruction as axes title event_handling/lasso_demo.py - added usage instruction as axes title event_handling/looking_glass.py - added usage instruction as axes title event_handling/resample.py - removed gtk and hardcoded wave file dependencies and just created a sample signal within the script event_handling/trifinder_event_demo.py - zip(l1,l2) call changed to list(zip(l1,l2)) to be python3 compatible event_handling/viewlims.py - The focus box that is supposed to appear in the left axes when user zooms in the right axes wasn't visible. Set linewidth=1.0
Thanks! I am 👎 on changing the examples back to bilinear. It looks like this put a bunch of pep8 issues in
We decided a long time ago to enforce a code style via the package formally known as pep8. If I recall correctly, you use emacs. I suggest installing elpy in emacs and flake8 in your python enviroment to get pep8 linting in emacs. |
These are fixes for all issues found in axes_grid, color, and event_handling sections on the examples page. axisartist/demo_curvelinear_grid.py - Set linewidth=2.0 and grid zorder=0 so the plotted lines actually visible event_handling/keypress_demo.py - added usage instruction as axes title event_handling/lasso_demo.py - added usage instruction as axes title event_handling/looking_glass.py - added usage instruction as axes title event_handling/resample.py - removed gtk and hardcoded wave file dependencies and just created a sample signal within the script event_handling/trifinder_event_demo.py - zip(l1,l2) call changed to list(zip(l1,l2)) to be python3 compatible event_handling/viewlims.py - The focus box that is supposed to appear in the left axes when user zooms in the right axes wasn't visible. Set linewidth=1.0
Removed the bilinear mods and corrected the pep8 issues @tacaswell |
🎉 Congratulations on what (I think) is your first contribution to mpl! Documentation is someplace that we do not put enough effort into and this work is greatly appreciated. |
DOC: 2.0 Examples fixes See #6762
backported to v2.x as 2bf445d |
The backport is actually 8396451. |
These are fixes for all issues found in axes_grid, color, and
event_handling sections on the examples page.
axisartist/demo_curvelinear_grid.py - Set linewidth=2.0 and grid zorder=0 so
the plotted lines actually visible
event_handling/keypress_demo.py - added usage instruction as axes title
event_handling/lasso_demo.py - added usage instruction as axes title
event_handling/looking_glass.py - added usage instruction as axes title
event_handling/resample.py - removed scikits and hardcoded wave file dependencies
and instead create a sample signal within the script
event_handling/trifinder_event_demo.py - zip(l1,l2) call changed to
list(zip(l1,l2)) to be python3 compatible
event_handling/viewlims.py - The focus box that is supposed to appear in the
left axes when user zooms in the right axes wasn't visible. Set linewidth=1.0