neuralib.plot.colormap.insert_cyclic_colorbar
- neuralib.plot.colormap.insert_cyclic_colorbar(ax, im, *, num_colors=12, num_labels=4, width=0.6, inner_diameter=0.6, vmin=None, vmax=None)[source]
Insert cyclic colormap in
inset_axes- Parameters:
ax (Axes) –
Axesim (_ScalarMappable) –
ScalarMappablenum_colors (int) – Number of color in the cyclic colorbar
num_labels (int) – Number of labels in the cyclic colorbar
width (float) – Width of the each color
inner_diameter (float) – The size of the inner circle
vmin (float | None) – Min value of the colormap, equal to
vmaxin cyclic datavmax (float | None) – Max value of the colormap, equal to
vminin cyclic data
- Return type:
None