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_ax and do_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 testing currently. Would it be possible to move them to testing so they could be used externally? Related would that actually make sense/be usable for my use case?
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?