deprecated(since, message='', name='', alternative='', pending=False, obj_type=None, warning_type=<class 'astropy.utils.exceptions.AstropyDeprecationWarning'>)
To mark an attribute as deprecated, use deprecated_attribute
.
The release at which this API became deprecated. This is required.
Override the default deprecation message. The format specifier func
may be used for the name of the function, and alternative
may be used in the deprecation message to insert the name of an alternative to the deprecated function. obj_type
may be used to insert a friendly name for the type of object being deprecated.
The name of the deprecated function or class; if not provided the name is automatically determined from the passed in function or class, though this is useful in the case of renamed functions, where the new function is just assigned to the name of the deprecated function. For example:
def new_function(): ... oldFunction = new_function
An alternative function or class name that the user may use in place of the deprecated object. The deprecation warning will tell the user about this alternative if provided.
If True, uses a AstropyPendingDeprecationWarning instead of a warning_type
.
The type of this object, if the automatically determined one needs to be overridden.
Warning to be issued. Default is ~astropy.utils.exceptions.AstropyDeprecationWarning
.
Used to mark a function or class as deprecated.
Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.
Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)
SVG is more flexible but power hungry; and does not scale well to 50 + nodes.
All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them