salem.DataLevels.visualize

DataLevels.visualize(ax=None, title=None, orientation='vertical', add_values=False, addcbar=True, cbar_title='')[source]

Quick plot, useful for debugging.

Parameters
ax: the axis to add the plot to (optinal)
title: the plot title
orientation: the colorbar’s orientation
add_values: add the data values as text in the pixels (for testing)
Returns a dict containing the primitives of the various plot calls