Reference 〉 Function

MPLVisualization.sendEvent( matplotlib.KeyEvent event )

An event handler for Matplotlib-based visualizations that executes functions registered with MPLVisualization.addKeypress() and routes other events to the appropriate ChartPlot object depending on the current mouse position, which are received by ChartPlot.MPLEvent(). This function should not be called directly by user code.

sendEvent() currently routes key_press_event (keystrokes), button_press_event (mouse clicks), and pick_event (mouse clicks associated with particular pickable Artists).

WARNING: This is an internal function. Its use in user code is not recommended or supported, and its signature can change in future updates without warning. Use one of the suggested functions above instead, if applicable.


Notes and Examples

  1. Contribute a Note

    Your email address will not be published. Required fields are marked *

    You may use limited HTML for formatting. Please embed blocks of code in <pre><code> </code></pre> tags.