eelbrain.plot._brain_object.Brain.set_vlim¶
-
Brain.
set_vlim
(self, 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
-v
or0
. Ifvmax
is also specified,v
specifies the lower end of the scale.- vmax : scalar (optional)
Upper end of the color scale.
Notes
Only affects the most recently added data layer.