You are reading an old version of the documentation (v2.2.5). For the latest version see
Version 2.2.5
Fork me on GitHub


matplotlib.pyplot.over(func, *args, **kwargs)[source]

Deprecated since version 2.0: pyplot.hold is deprecated. Future behavior will be consistent with the long-time default: plot commands add elements without first clearing the Axes and/or Figure.

Call a function with hold(True).


func(*args, **kwargs)

with hold(True) and then restores the hold state.