Closed mandli closed 8 years ago
The "right" solution seems to be for the plotdata
object not to have a format
attribute at all, but it's probably difficult to make that change.
I agree. I could see if there would be a way to extract all instances of the format to the output_controller
. As you said though this could be tricky and may break things unintentionally.
I again ran into a case where the
plotdata
object'sformat
was overridden somewhere and reset to ascii. Using theoutput_controller
instead and setting it'sfile_format
value seems to be safer but this is really a non-intuitive interface since there already exists aformat
attribute in the data object. Suggestions?