PyNGL Home > Functions > PyNGL object routines

Ngl.remove_annotation

Removes an annotation from the given plot.

Prototype

Ngl.remove_annotation(PlotId_base, annotation_id)

Arguments

PlotId_base

The id of the plot from which you want to remove the annotation.

annotation_id

The id of the annotation which was attached to PlotId_base via a call to Ngl.add_annotation.

Return value

   None

Description

This procedure removes an annotation that has been added to a plot via the Ngl.add_annotation function. This procedure takes two arguments, the first is a PlotId for the plot that had the annotation added to it, and the second is the id returned from the call to Ngl.add_annotation.

See Also

Ngl.add_annotation

Examples

See multi_y.py.