mtuq.graphics.attrs._default_backend

mtuq.graphics.attrs._default_backend(filename, values, stations, origin, colormap='coolwarm', zero_centered=True, colorbar=True, label='', width=5.0, height=5.0, **kwargs)[source]

Default backend for all frontend mtuq.graphics.attrs functions

The frontend functions perform only data manipulation. All graphics library calls occur in the backend

By isolating the graphics function calls in this way, users can completely interchange graphics libraries (matplotlib, GMT, PyGMT, and so on)

Keyword arguments

colormap (str): Matplotlib color palette

zero_centered (bool): Whether or not the colormap is centered on zero

colorbar (bool): Whether or not to display a colorbar

label (str): Optional colorbar label