scalarbar

Adds a colorbar for the scalar color mapping of the given object.

If no object is specified, the first object with scalar data in the scene is used.

Keyword arguments:

:object: Optional object to get the scalar color map from

:title: The title string

:orientation: Can be 'horizontal' or 'vertical'