13 List of data typesThe following is a list of Pyxplot’s data types:
Each of these data types has a prototype object in the module types, which can be called like a function to create a new object of the type. See Section 12.11 for details of the arguments accepted by each prototype. All objects in Pyxplot have methods that can be called on them, using the generic syntax: object.methodName(arguments) Some methods are common to all objects. For example, all objects have a method str() which produces a string representation of the object, as used by the print command. They also all have a methods() method, which returns a list of the names of all of the methods available for the object. For example: pyxplot> pi.type() As the above examples show, printing a method object returns brief documentation about it. The sections below list the methods of each data type.
|