-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Removing figureoptions from subclassed NavigationToolbar2QT #4574
New issue
Have a question about this project? Sign up for a fre 8000 e 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
Comments
We are in the process of completely overhauling how the toolbars are build and managed. attn @OceanWolf @fariza |
Sorry, hit the wrong button, did not mean to close this issue! |
@jclark754 short answer right now no, but in the next release yes. As @tacaswell explains, we currently overhaul all of the Toolbar #3652 (and Window #4143) logic, introducing a completely new Toolbar/Tool system allowing you to do all the kind of tool changes you want and in a 100% backend neutral way. If you use the bleeding edge master branch then you can already use the overhauled toolbars on the |
@jclark754 did @OceanWolf comment answer your question? |
@fariza yep, sounds good. |
Closing this, as the changes are already in place for this to work with the new Toolbar and Toolmanager |
Subclassing a NavigationToolbar2QT allows one to add and remove buttons on the navigation bar. However, the figure options menu remains and cannot be removed like the other default buttons. I was able to construct a temporary solution by importing
matplotlib.backends.backend_qt
and settingfigureoptions = None
. Please see below example:Is there another, better solution out there? Appreciated!
The text was updated successfully, but these errors were encountered: