}         {XY}         label : str             Add a legend entry for the contour being plotted. Normally, the             annotated contour is selected for the legend. You can select the             regular contour instead, or both of them, by considering the label             to be of the format [*annotcontlabel*][/*contlabel*]. If either             label contains a slash (/) character then use ``|`` as the             separator for the two labels instead.         {p}         {t}         """         kwargs = self._preprocess(**kwargs)         kind = data_kind(grid, None, None)         with Session() as lib:             if kind == "file":                 file_context = dummy_context(grid)             elif kind == "grid":                 file_context = lib.virtualfile_from_grid(grid)             else:                 raise GMTInvalidInput("Unrecognized data type: {}".format(type(grid)))             with file_context as fname:                 arg_str = " ".join([fname, build_arg_string(kwargs)])                 lib.call_module("grdcontour", arg_str)      @fmt_docstring     @use_alias(         