AlloViz.AlloViz.Elements.Element._show_cbar¶
- Element._show_cbar(cmap, minv, maxv)[source]¶
Plot the colorbar
Show the colorbar with the colors used for the network, adapting the title and the text of the ticks depending on the information shown: the network of a single
Protein
structure or aDelta
-network.- Parameters:
- cmap
matplotlib.colors.LinearSegmentedColormap
Used colormap function.
- minv, maxvfloat
Minimum and maximum value of the whole data of which a subset is represented.
- cmap