The option Export_Option in the Figure_To_Pdfscript is used to create a FigureExport or TiffExport object. It is then used again in FigureExport.build_figure to decide whether to create a zip file (it will create a zip file if exporting to a tiff file and there's multiple pages). However, that information is already in whether this is a TiffExport object. Having a class property like 'supports_multipage_per_file' would avoid that redudancy (although the TIFF does support multiple pages per file).
This is not a big issue, it's only the redudancy on the client that has to do:
The option
Export_Option
in theFigure_To_Pdf
script is used to create aFigureExport
orTiffExport
object. It is then used again inFigureExport.build_figure
to decide whether to create a zip file (it will create a zip file if exporting to a tiff file and there's multiple pages). However, that information is already in whether this is a TiffExport object. Having a class property like 'supports_multipage_per_file' would avoid that redudancy (although the TIFF does support multiple pages per file).