The "options" dialog in the "other" tab does contain a field for
"position" of legend. You can choose "none" in that field, and I would
expect that to add the argument legend.position='none' in the code,
but it actually adds position='none'. I suspect that the problem is
there.
Helios