Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6e16af7

Browse files
committed
DOC: added missing import to navigation_toolbar.rst
1 parent 0a72724 commit 6e16af7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

doc/users/navigation_toolbar.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,8 @@ depends on your UI, but we have examples for every supported UI in the
112112
example code for GTK::
113113

114114

115+
import gtk
116+
115117
from matplotlib.figure import Figure
116118
from matplotlib.backends.backend_gtkagg import FigureCanvasGTKAgg as FigureCanvas
117119
from matplotlib.backends.backend_gtkagg import NavigationToolbar2GTKAgg as NavigationToolbar

0 commit comments

Comments
 (0)