matplotlib.artist.Artist.set_mouseover

Artist.set_mouseover(mouseover)[source]

Set whether this artist is queried for custom context information when the mouse cursor moves over it.

Parameters
mouseoverbool