def METHOD_NAME():
    # modifyTable1 {
    OpenDatabase(silo_data_path("rect2d.silo"))
    AddPlot("Pseudocolor", "d")
    pc = PseudocolorAttributes()
    pc.centering=pc.Nodal 
    # set color table name
    pc.colorTableName = "hot"
    SetPlotOptions(pc)
    DrawPlots()
    # put the plot in full-frame mode
    v = GetView2D()
    v.fullFrameActivationMode= v.On
    SetView2D(v)
    # modifyTable1 } 
    Test("standard_hot_table")
    hotCTorig = GetColorTable("hot")
    # modifyTable2 {
    hotCT = GetColorTable("hot")
    # Remove a couple of control points
    hotCT.RemoveControlPoints(4)
    hotCT.RemoveControlPoints(3)
    # We must use a different name, as VisIt will not allow overwriting of built-in color tables
    SetColorTable("hot_edited", hotCT)
    # set color table name so changes to it will be reflected in plot
    pc.colorTableName = "hot_edited"
    SetPlotOptions(pc)
    # modifyTable2 }
    Test("modified_hot_table_1")
    # modifyTable3 {
    # Change colors
    hotCT.GetControlPoints(0).colors = (255,0,0,255)
    hotCT.GetControlPoints(1).colors = (255, 0, 255, 255)
    SetColorTable("hot_edited", hotCT)
    # modifyTable3 }
    Test("modified_hot_table_2")
    # modifyTable4 {
    # Turn on equal spacing
    hotCT.equalSpacingFlag = 1
    # Create a new color table by providing a different name
    SetColorTable("hot2", hotCT)
    # tell the Pseudocolor plot to use the new color table
    pc.colorTableName = "hot2"
    SetPlotOptions(pc)
    # modifyTable4 }
    Test("hot2")
    # modifyTable5 {
    # Change positions so that the first and last are at the endpoints
    hotCT.equalSpacingFlag=0
    hotCT.GetControlPoints(0).position = 0
    hotCT.GetControlPoints(1).position =0.5 
    hotCT.GetControlPoints(2).position = 1
    SetColorTable("hot3", hotCT)
    pc.colorTableName = "hot3"
    SetPlotOptions(pc)
    # modifyTable5 }
    Test("hot3")
    # remove the added color tables
    RemoveColorTable("hot_edited")
    RemoveColorTable("hot2")
    RemoveColorTable("hot3")
    DeleteAllPlots()