The variables in the theme module can
also be set from the command line. To do this, the program
that imports PyChart must call theme.get_options
in the
beginning, because PyChart itself is just a library. Below is an example.
ARGV = sys.argv[1:]) |
sys.argv[1:]
.
The options supported are: "--format=[ps,png,pdf,x11,svg]
",
"--output=
file", "--color=[yes,no]
"
"--scale=
X", "--font-family=
name", "--font-size=
X",
"--line-width=
X",
"--debug-level=
N", "bbox=
left,bottom,right,top".
The below code shows an example.