8000 Splitting navigation and toolbar by fariza · Pull Request #2557 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

Splitting navigation and toolbar #2557

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

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Docstrings for base clases
  • Loading branch information
fariza committed Oct 28, 2013
commit 299b8c0b96d5b01a445d1f90dbdff47e04189da6
4 changes: 2 additions & 2 deletions examples/user_interfaces/reconfigurable_toolbar_gtk3.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import matplotlib
matplotlib.use('GTK3Agg')
#matplotlib.rcParams['backend.single_window'] = True
#matplotlib.rcParams['toolbar'] = 'None'
import matplotlib.pyplot as plt

fig = plt.figure()
Expand All @@ -12,7 +12,7 @@
#Back? who needs back? my mom always told me, don't look back,
fig.canvas.manager.toolbar.remove_tool(1)

##Move home somewhere else
#Move home somewhere else
fig.canvas.manager.toolbar.move_tool(0, 6)

plt.show()
7 changes: 7 additions & 0 deletions lib/matplotlib/backend_bases.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@
the 'show' callable is then set to Show.__call__, inherited from
ShowBase.

:class: `NavigationBase`
Class that holds the navigation state (or toolbar state).
This class is attached to `FigureManagerBase.navigation`

:class:`ToolbarBase`
The base class that controls the GUI interface of the toolbar
passes all the requests to the navigation instance
"""

from __future__ import (absolute_import, division, print_function,
Expand Down
0