rockverse.viz.OrthogonalViewer.update_histogram_line_dict#

OrthogonalViewer.update_histogram_line_dict(v)[source]#

Update the histogram lines display settings dictionary and refreshes the display. Value must be a dictionary with the following structure:

{
    'full': <**kwargs>,   # For the full histogram
    'phases': <**kwargs>, # For segmentation phases
    'clim': <**kwargs>    # For the vertical CLIM lines
}

Examples:

viewer.update_histogram_line_dict({
    'full': {'color': 'blue', 'linewidth': 2},
    'phases': {'linestyle': '--', 'alpha': 0.7},
    'clim': {'color': 'red', 'linewidth': 1}
})

You can use only a subset of the keywords:

viewer.update_histogram_line_dict({
    'phases': {'linestyle': '--'}})