You are reading documentation for the unreleased version of Matplotlib. Try searching for the released version of this page instead?
Version 2.0.0b1.post7580.dev0+ge487118
matplotlib
Fork me on GitHub

This Page

matplotlib.pyplot.pylab_setup

matplotlib.pyplot.pylab_setup(name=None)

return new_figure_manager, draw_if_interactive and show for pyplot

This provides the backend-specific functions that are used by pyplot to abstract away the difference between interactive backends.

Parameters:

name : str, optional

The name of the backend to use. If None, falls back to matplotlib.get_backend() (which return rcParams['backend'])

Returns:

backend_mod : module

The module which contains the backend of choice

new_figure_manager : function

Create a new figure manager (roughly maps to GUI window)

draw_if_interactive : function

Redraw the current figure if pyplot is interactive

show : function

Show (and possibly block) any unshown figures.