@classmethod
def createPlottingScript(cls, validations):
    from .plottingOptions import PlottingOptions
    repmap = PlottingOptions(None, cls).copy()
    filename = replaceByMap('.oO[plottingscriptpath]Oo.', repmap)
    repmap['PlottingInstantiation'] = '\n'.join((replaceByMap(v.appendToPlots(), v.getRepMap()).rstrip('\n') for v in validations))
    plottingscript = replaceByMap(cls.plottingscripttemplate(), repmap)
    with open(filename, 'w') as f:
        f.write(plottingscript)
@classmethod
def createPlottingScript(cls, validations):
    from .plottingOptions import PlottingOptions
    repmap = PlottingOptions(None, cls).copy()
    filename = replaceByMap('.oO[plottingscriptpath]Oo.', repmap)
    repmap['PlottingInstantiation'] = '\n'.join((replaceByMap(v.appendToPlots(), v.getRepMap()).rstrip('\n') for v in validations))
    plottingscript = replaceByMap(cls.plottingscripttemplate(), repmap)
    with open(filename, 'w') as f:
        f.write(plottingscript)