eelbrain.plot._brain_object.Brain.set_vlim
- Brain.set_vlim(v=None, vmax=None)
Change the colormap limits
If the limit is symmetric, use
set_vlim(vlim); if it is not, useset_vlim(vmin, vmax).- Parameters:
v (scalar) – If this is the only value specified it is interpreted as the upper end of the scale, and the lower end is determined based on the colormap to be
-vor0. Ifvmaxis also specified,vspecifies the lower end of the scale.vmax (scalar (optional)) – Upper end of the color scale.
Notes
Only affects the most recently added data layer.