colorbar

m3sh.vis.colorbar(object, x=0.8, y=0.1)[source]

Display colorbar.

Display visual representation of the lookup table associated with object.

Parameters:
  • object (Prop or vtkActor) – A render object.

  • x (float, optional) – Horizontal position in normalized window coordinates.

  • y (float, optional) – Vertical position in normalized window coordinates.

Returns:

Visual representation of lookup table.

Return type:

LookupTable