Table of Contents

Class: KeywordArg Gnuplot/termdefs.py

Represent an argument that must be passed as a keyword to gnuplot.

Some gnuplot options take the form of single unquoted keywords (possibly preceded by a fixed keyword). We allow those to be passed as strings option="keyword". Check that the option supplied is in the list of allowed options.

Members:

fixedword
the fixed keyword that must precede the variable keyword in the gnuplot command, or None if none is required.
options
a list of strings containing the legal alternatives for this argument.
Base Classes   
ArgOneParam
Methods   
__call__
__init__
  __call__ 
__call__ ( self,  keyw )

Exceptions   
Errors.OptionError('Illegal option %s="%s"' %( self.argname, k, ) )
  __init__ 
__init__ (
        self,
        argname,
        options,
        fixedword=None,
        default=None,
        )


Table of Contents

This document was automatically generated on Sun Oct 19 17:10:22 2003 by HappyDoc version 2.1