-
Notifications
You must be signed in to change notification settings - Fork 0
rcParams for MEP27 #4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
ebcce0d
to
c7b0450
Compare
Why don't you merge this into MEP27 main PR? |
Actually here there is a small problem (bug in MEP22 also) the user might want
|
I leave this unmerged for now just so that if I get additional feedback to change things with MEP27, then Travis will still report bugs, Travis doesn't have the rcParam set for toolmanager so it won't go down that codepath (I guess we could always add an additional Travis build in the test suite with the rcParam set though, perhaps a better option).
|
I was thinking in playing with |
Ahh, I think I have found a mistake in your thing above, item 3, just How about |
Why MEP27 can't exist without the
After deprecation time, we remove the other possibilities and we have only the 3 new states |
Because the if rcParams['toolbar'] != 'toolbar2':
toolmanager = ToolManager(self.canvas) Now with MEP27 we have decided that as we create completely new classes and will protect it with an rcParam, then we don't need to support the old toolbar from MEP27. Because of this a I don't get what your keyword of |
Yes. In the past there was a discussion about exactly that. The most common case is the whole thing. But the conclusion was that the user has to be able to deactivate things one by one. That's why I said there was a bug in MEP22 in this moment is impossible not to have neither the old toolbar nor toolmanager |
Okay, but what got decided in that discussion? As it made it into master I presumed that we didn't need it and could see (convinced myself of) the logic behind it that while visually the user might not want a toolbar, especially if they embed it in larger app, they would still want the keys bound to the window. But meh, personally I don't mind, and I will go with with whatever got decided. The only thing I find odd lies in the naming of the rcParam, I thought about doing a trinary choice like you show above, but disregarded it as while before Now toying with the idea of creating a group of rcParams like:
|
Part of me also says do we need an option for just |
Ok, I agree, for the moment we don't need such an option.
In any case this can be changed afterwards without having to modify every backend, only the |
One problem there though, |
Yep.... |
Okay, but thinking about it a bit more, |
Yes, I agree, leave it like that, and we'll work the possible |
Something else for us to consider later, do we want to use a separate rcParam to control the statusbar? |
I don't think we should go to that level of granularity. |
6d379bc
to
cc1362a
Compare
What is holding you to merge this? |
Only other possible comments that require me to change stuff in the main branch... I worry that I will get a comment that will require a huge change that I would want Travis to check... perhaps I worry too much... |
27885ad
to
1b61b42
Compare
eb514d5
to
cc0d4cd
Compare
MNT: use IPython's signature if needed + available
This will get merged before the main branch gets merged.