.. _ws_ridge_icon: ws_ridge =============================================== .. container:: .. container:: leftside .. image:: /_static/WS_RIDGE.png :width: 48px .. container:: rightside Defines a ridge :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 Ridge** icon in Metview’s :ref:`user interface `. It accepts its parameters as keyword arguments, described below. .. py:function:: ws_ridge(**kwargs) Defines a ridge :ref:`Weather Symbol Object `. :param colour: Colour of the curve. :type colour: str, default: "black" :param line_thickness: Thickness of the curve. :type line_thickness: number, default: 1 :param symbol_width: Width of the basic triangle shape making up the zigzag pattern. :type symbol_width: number, default: 5 :param symbol_orientation: Orientation of the zig-zag pattern. :type symbol_orientation: {"left", "right"}, default: "left" :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: None .. mv-minigallery:: ws_ridge