@@ -153,7 +153,7 @@ def write(self, msg):
153153from matplotlib .backend_bases import RendererBase , GraphicsContextBase ,\
154154 FigureCanvasBase , FigureManagerBase , error_msg , NavigationToolbar2 , \
155155 MplEvent , cursors
156- from matplotlib ._matlab_helpers import Gcf
156+ from matplotlib ._pylab_helpers import Gcf
157157from matplotlib .artist import Artist
158158from matplotlib .cbook import exception_to_str
159159from matplotlib .figure import Figure
@@ -1141,8 +1141,8 @@ def _onMouseWheel(self, evt):
11411141
11421142########################################################################
11431143#
1144- # The following functions and classes are for matlab compatibility
1145- # mode (matplotlib.matlab ) and implement figure managers, etc...
1144+ # The following functions and classes are for pylab compatibility
1145+ # mode (matplotlib.pylab ) and implement figure managers, etc...
11461146#
11471147########################################################################
11481148
@@ -1191,7 +1191,7 @@ def new_figure_manager(num, *args, **kwargs):
11911191 """
11921192 Create a new figure manager instance
11931193 """
1194- # in order to expose the Figure constructor to the matlab
1194+ # in order to expose the Figure constructor to the pylab
11951195 # interface we need to create the figure here
11961196 DEBUG_MSG ("new_figure_manager()" , 3 , None )
11971197 fig = Figure (* args , ** kwargs )
@@ -1280,7 +1280,7 @@ class FigureManagerWx(FigureManagerBase):
12801280 It is instantiated by GcfWx whenever a new figure is created. GcfWx is
12811281 responsible for managing multiple instances of FigureManagerWx.
12821282
1283- NB: FigureManagerBase is found in _matlab_helpers
1283+ NB: FigureManagerBase is found in _pylab_helpers
12841284 """
12851285 def __init__ (self , canvas , num , frame ):
12861286 DEBUG_MSG ("__init__()" , 1 , self )
0 commit comments