-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Moving get_ax and do_event to testing #7372
Copy link
Copy link
Closed
Labels
Difficulty: Easyhttps://matplotlib.org/devdocs/devel/contribute.html#good-first-issueshttps://matplotlib.org/devdocs/devel/contribute.html#good-first-issuesGood first issueOpen a pull request against these issues if there are no active ones!Open a pull request against these issues if there are no active ones!
Milestone
Metadata
Metadata
Assignees
Labels
Difficulty: Easyhttps://matplotlib.org/devdocs/devel/contribute.html#good-first-issueshttps://matplotlib.org/devdocs/devel/contribute.html#good-first-issuesGood first issueOpen a pull request against these issues if there are no active ones!Open a pull request against these issues if there are no active ones!
I'm wanting to do some testing in a library that uses matplotlib. In particular, this library is using matplotlib native widgets.
There appear to be some utility functions used for testing called
get_axanddo_event. These seem like they would be very handy for widget tests like the ones proposed above.However, I'm not entirely clear on how they can access them ATM as they don't seem to be importable and they are not in
testingcurrently. Would it be possible to move them totestingso they could be used externally? Related would that actually make sense/be usable for my use case?