Module: util

Inheritance diagram for mpltools.util:


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

Bases: object

Decorator to mark deprecated functions with warning.

Adapted from <>.

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.


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

Deprecated. Use layout.figaspect instead.


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

Deprecated. Use layout.figaspect instead.


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

Deprecated. Use layout.figure instead.

Table Of Contents

Previous topic

Module: style

Next topic

Module: widgets