.. _ws_intertropical_discontinuity_icon: ws_intertropical_discontinuity =============================================== .. container:: .. container:: leftside .. image:: /_static/WS_ITTDISCONTINUITY.png :width: 48px .. container:: rightside Defines an intertropical discontinuity line :ref:`Weather Symbol Object ` that can be visualised with :func:`plot`. .. include:: /api/icon_desc/include/ws.rst .. note:: This function performs the same task as the **Ws Intertropical Discontinuity** icon in Metview’s :ref:`user interface `. It accepts its parameters as keyword arguments, described below. .. py:function:: ws_intertropical_discontinuity(**kwargs) Defines an intertropical discontinuity line :ref:`Weather Symbol Object `. :param colour_1: Colour of the first segment. :type colour_1: str, default: "red" :param colour_2: Colour of the second segment. :type colour_2: str, default: "green" :param line_thickness: Thickness of the curve. :type line_thickness: number, default: 1 :param symbol_width: Length of the line segments. :type symbol_width: number, default: 10 :param symbol_gap: Width of the gap between line segments. :type symbol_gap: number, default: 5 :param x: The x coordinates of the control points of the curve. At least two points must be specified. :type x: ndarray or list of numbers, default: 0 :param y: The y coordinates of the control points of the curve. At least two points must be specified. :type y: ndarray or list of numbers, default: 0 :param geolock: Sets the geolock on the item for interactive editing in the plot window. :type geolock: on_off, default: off :param tooltip: Text that appears as a tooltip when the visualised object is hovered over in Metview's plot window. :type tooltip: str :rtype: :class:`Request` .. mv-minigallery:: ws_intertropical_discontinuity