Package PyFoam :: Package ThirdParty :: Package Gnuplot :: Module termdefs :: Class Arg
[hide private]
[frames] | no frames]

Class Arg

source code

Process terminal subargs and return a command fragment.

Pull one or more arguments from keyw and output a list of strings that will be appended to the 'set terminal' (separated by spaces). Delete any used args from keyw. If no relevant options are found, return None.

This is a base class for the actual argument-processing classes. Derived classes must define a __call__(self, keyw) method returning a list of strings or None.