These IronPython scripts below show how to modify any of the Heat Map visualization settings found on the Appearance tab of the Heat Map Properties dialog box in the Spotfire user interface.

In each of the scripts below, it is assumed that the MyVis variable references the targeted visualization. See here for more information about referencing visualizations.

Use Separate Color for Marked Items:

from Spotfire.Dxp.Application.Visuals import *

myVis = myVis.As[Visualization]()

# Use separate color for marked items
myVis.UseSeparateColorForMarkedItems = True

The purpose of this website is to provide a comprehensive, accurate, and efficient IronPython reference for Spotfire developers.