Ouranosinc / figanos

Outils pour produire des graphiques informatifs sur les impacts des changements climatiques.
Apache License 2.0
1 stars 0 forks source link

gridmap: add possibility to pass list in levels #28

Closed Beauprel closed 1 year ago

Beauprel commented 1 year ago

e.g. levels = [10,15,20]

Beauprel commented 1 year ago

The levels argument in gridmap creates a colormap with the specified number of colors; it doesn't, strictly speaking, divide the colormap into levels. So in order to achieve this, a separate argument should be created, but since we can already pass a list to the levels argument in plot_kw, this is not desireable. Closing.