levs#
- cfplot.levs(min=None, max=None, step=None, manual=None, extend='both')[source]#
- Manually sets the contour levels.min=min - minimum levelmax=max - maximum levelstep=step - step between levelsmanual= manual - set levels manuallyextend='neither', 'both', 'min', or 'max' - colour bar limit extensionsUse the levs command when a predefined set of levels is required. Themin, max and step parameters can be used to define a set of levels.These can take integer or floating point numbers. If the min and maxare specified then a step also needs to be specified.If just the step is specified then cf-plot will internally try todefine a reasonable set of levels.If colour filled contours are plotted then the default is to extendthe minimum and maximum contours coloured for out of range values- extend='both'.Once a user call is made to levs the levels are persistent.i.e. the next plot will use the same set of levels.Use levs() to reset to undefined levels.
- Returns:
None