xoa.core.plot.get_layer

Contents

xoa.core.plot.get_layer#

xoa.core.plot.get_layer(name=None)[source]#

Get the definition of a background layer from the layers options

Parameters:

name (None, str) – Layer name, which defaults to the plot.layer option

Returns:

dict – With the kind, url, layer and attribution keys

Raises:

XoaConfigError – When the layer is not defined