eelbrain.plot.Array.set_vlim

Array.set_vlim(v=None, vmax=None, meas=None)[source]

Change the colormap limits

If the limit is symmetric, use set_vlim(vlim); if it is not, use set_vlim(vmin, vmax).

Parameters:
  • v (float) – 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 or 0. If vmax is also specified, v specifies the lower end of the scale.

  • vmax (float) – Upper end of the color scale.

  • meas (str) – Measurement type to apply (default is the first one found).