@@ -143,8 +143,8 @@ track of the created figures and shows them on exit ::
143143
144144
145145This will create 3 figures and block on ``__exit__ ``. The blocking
146- behavior depends on `` mg.is_interacitve() ` ` (and follow the behavior of
147- `` mg. show `` or can explicitly controlled via the *block * keyword argument).
146+ behavior depends on `~mpl_gui.is_interactive() ` (and follow the behavior of
147+ `.display ` and ` .FigureRegistry. show ` can explicitly controlled via the *block * keyword argument).
148148
149149The `.registry ` module is implemented by having a singleton `.FigureRegistry `
150150at the module level.
@@ -164,7 +164,7 @@ explicitly available ::
164164
165165 fig2 = Figure()
166166
167- mg.show (fig1, fig2)
167+ mg.display (fig1, fig2)
168168
169169
170170which will show both figures and block until they are closed. As part of the
@@ -182,23 +182,23 @@ Similar to `plt.ion<matplotlib.pyplot.ion>` and
182182 print(mg.is_interactive())
183183 fig = Figure()
184184
185- mg.show ([fig]) # will not block
185+ mg.display ([fig]) # will not block
186186
187187 mg.ioff()
188188 print(mg.is_interactive())
189- mg.show (fig) # will block!
189+ mg.display (fig) # will block!
190190
191191
192192As with `plt.show<matplotlib.pyplot.show> `, you can explicitly control the
193- blocking behavior of `mg.show <mpl_gui.show > ` via the *block * keyword argument ::
193+ blocking behavior of `mg.display <mpl_gui.display > ` via the *block * keyword argument ::
194194
195195 import mpl_gui as mg
196196 from matplotlib.figure import Figure
197197
198198 fig = Figure(label='control blocking')
199199
200- mg.show (fig, block=False) # will never block
201- mg.show (fig, block=True) # will always block
200+ mg.display (fig, block=False) # will never block
201+ mg.display (fig, block=True) # will always block
202202
203203
204204The interactive state is shared Matplotlib and can also be controlled with
0 commit comments