Module: util

Inheritance diagram for mpltools.util:

deprecated

class mpltools.util.deprecated(alt_func=None, behavior='warn')[source]

Bases: object

Decorator to mark deprecated functions with warning.

Adapted from <http://wiki.python.org/moin/PythonDecoratorLibrary>.

Parameters :

alt_func : str

If given, tell user what function to use instead.

behavior : {‘warn’, ‘raise’}

Behavior during call to deprecated function: ‘warn’ = warn user that function is deprecated; ‘raise’ = raise error.

__init__(alt_func=None, behavior='warn')[source]
mpltools.util.figaspect(*args, **kwargs) Deprecated.
mpltools.util.figsize(*args, **kwargs) Deprecated.
mpltools.util.figure(*args, **kwargs) Deprecated.

figaspect

mpltools.util.figaspect(*args, **kwargs)[source]

Deprecated. Use layout.figaspect instead.

figsize

mpltools.util.figsize(*args, **kwargs)[source]

Deprecated. Use layout.figaspect instead.

figure

mpltools.util.figure(*args, **kwargs)[source]

Deprecated. Use layout.figure instead.

Table Of Contents

Previous topic

Module: style

Next topic

Module: widgets