MEP22: Navigation by events#3652
Conversation
|
I am definitely very interested in looking through this this weekend. At a On Thu, Oct 16, 2014 at 5:45 PM, Federico Ariza notifications@github.com
|
a33df0e to
c09f561
Compare
|
@tacaswell @WeatherGod @OceanWolf
If you agree, I will remove the other two PR's and we can keep going. |
|
Sounds good to me. I am still not convinced that going with a zoo of classes is the right thing to do and am still not happy with adding more global state. |
|
I removed the singleton, I added another tool, that keeps the "history". The other tools access this one to push things around in history |
|
@tacaswell please tag this as "need revision" and remove it from #2759 |
|
@WeatherGod did you have time to check it out? |
|
Hopefully, I'll have time this weekend... (book-writing is hard!) On Fri, Oct 31, 2014 at 9:41 AM, Federico Ariza notifications@github.com
|
lib/matplotlib/backend_bases.py
Outdated
There was a problem hiding this comment.
Patterns like this make me nervous, might as well just pass around a dict.
|
@tacaswell I gave up (too tempting). |
a88dc2d to
5eae4e1
Compare
|
Okay, merge time? |
|
Congratulations, @fariza and @OceanWolf ! You are now proud owners of some mpl real estate! |
|
Thank you everybody. Actually I am going to present a Lightning Talk at Pycon2015 |
|
@fariza nice, though the file looks nonsense on github ;). When do you give the talk? Perhaps I can get MEP27 ready by then ;). |
This PR is the implementation of MEP22, https://github.com/matplotlib/matplotlib/wiki/Mep22#implementation
This it supersedes the #2759
Toolbarhas been relegated aslistener/emiterof events that get dispatched to theToolsbyNavigation.The
toolbaris easily reconfigurable at running time. new tools can becreated/added/removedwithout modificaion of the backend code.Example
examples/user_interfaces/navigation.py