About Chandra Archive Proposer Instruments & Calibration Newsletters Data Analysis HelpDesk Calibration Database NASA Archives & Centers Chandra Science Links

Skip the navigation links
Last modified: December 2008

URL: http://cxc.harvard.edu/chips4.1/set_preference.py.html
AHELP for ChIPS 4.1

set_preference

Context: py.chips

Synopsis

Sets the specified preference.

Syntax

set_preference(attribute,value)

Description

  • attribute - the quoted attribute name
  • value - the quoted value to be assigned to the attribute

The set_preference command sets the specified preference to the supplied value. The new setting does not affect the attributes of existing objects and data, only new ones created after the call to set_preference.

A complete list of supported preferences is available from "ahelp set_preferences" . Use the set_preferences command to change multiple preferences at a time.

Example 1

chips> set_preference("point.color","red")

Set the default point color to red.

Example 2

chips> set_preference("point.fill", "false")

By default, points will not be filled.

Bugs

See the bugs pages on the ChIPS website for an up-to-date listing of known bugs.

Last modified: December 2008



The Chandra X-Ray Center (CXC) is operated for NASA by the Smithsonian Astrophysical Observatory.
60 Garden Street, Cambridge, MA 02138 USA.    Email: cxcweb@head.cfa.harvard.edu
Smithsonian Institution, Copyright © 1998-2004. All rights reserved.