Events and Event Handling in Matplotlib

preview_player
Показать описание
In this Python Tutorial we will discuss how to use "Matplotlib Events" and how to handle them correctly (this called Event Handling).

Website Link:
Рекомендации по теме
Комментарии
Автор

Much more helpful than the Matplotlib website that describes event handling. -- thank you for this!

johnsinclair
Автор

That is very useful for me. Thank you!

Question: What if I need to get the vales of event.x or event.y outside to the main program. I need to involve them in further computations, not only printing them. In other words, how can I make this event-handling function return variables outside the function to the main program? Thanks!

ahmadgad