update_cmap

visualize.cell_morphology_visualizer.CMVDataParser.update_cmap(keyword)

Update the currently used cmap based on a keyword

This function is useful when the user wants to visualize different scalar data types Each consecutive plot will then need a different cmap with different vmin and vmax.

Parameters:
keyword : str

keyword to determine the scalar data. Can be a color, ion dynamics, or membrane voltage.

Returns:

None. Updates the class level cmap to reflect the correct scalar data.