Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Groundwork for task 3, plotting with function(x,y), test file for task 3, bug fixes #5

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

Merged
merged 5 commits into from
May 6, 2023

Conversation

eslothower
Copy link
Owner

@eslothower eslothower commented May 6, 2023

Groundwork for task 3, plotting with function(x,y), test file for task 3, bug fixes

PR Summary

This PR lays the groundwork for Task 3 issue matplotlib#23378. It allows users to call ax.plot() with the argument "hover=usr_func", where usr_func is a user-defined function of x,y that returns modified x and y coordinates. These modified x and y coordinates are then displayed in the tooltip in the bottom right hand corner of the screen. This PR also includes a test file for this feature from the perspective of a user, and it also includes a bug fix for a test file that was triggering an error when it shouldn't have been; this code was removed from the codebase.

PR Checklist

Documentation and Tests

  • Has pytest style unit tests (and pytest passes)
  • Documentation is sphinx and numpydoc compliant (the docs should build without error).
  • New plotting related features are documented with examples.

Release Notes

  • New features are marked with a .. versionadded:: directive in the docstring and documented in doc/users/next_whats_new/
  • API changes are marked with a .. versionchanged:: directive in the docstring and documented in doc/api/next_api_changes/
  • Release notes conform with instructions in next_whats_new/README.rst or next_api_changes/README.rst

@eslothower eslothower added the enhancement New feature or request label May 6, 2023
@eslothower eslothower self-assigned this May 6, 2023
@Ebot101 Ebot101 merged commit b7229c5 into main May 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants