Skip to content

Commit

Permalink
Update _colorbar_map_levels docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
jfrost-mo committed Feb 14, 2025
1 parent ec47229 commit 38e4b4a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/CSET/operators/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,9 +167,13 @@ def _load_colorbar_map(user_colorbar_file: str = None) -> dict:


def _colorbar_map_levels(cube: iris.cube.Cube):
"""Specify the color map and levels.
"""Get an appropriate colorbar for the given cube.
For the given variable name, from a colorbar dictionary file.
For the given variable the appropriate colorbar is looked up from a
combination of the built-in CSET colorbar definitions, and any user supplied
definitions. As well as varying on variables, these definitions may also
exist for specific pressure levels to account for variables with
significantly different ranges at different heights.
Parameters
----------
Expand Down

0 comments on commit 38e4b4a

Please sign in to comment.