[MNT]: Generalize widget mouse testing · Issue #22720 · matplotlib/matplotlib · GitHub
Skip to content

[MNT]: Generalize widget mouse testing #22720

Description

@andrew-fennell

Summary

Mouse testing for RangeSlider widget is not supported in the current widget testing framework. The current mouse testing for widgets is done using the click_and_drag function, but it has no support for widgets without 'press' events.

Proposed fix

The click_and_drag function should be generalized in order to support more widgets. One solution would be adding support for sending events through the canvas.

This potential solution is mentioned here by @ianhi:
#22711 (comment)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions