Skip to content

Moving outputfile handling to be earlier in plot functions #388

@lassejsc

Description

@lassejsc

Currently all the plot functions check near the end whether the path to save the fig to exists etc and whether nooverwrite is enabled, if any of those errors are raised a lot of time was wasted on basically plotting the whole thing and then throwing it out.

Thus the handling of output path should be moved as early as possible in the code, this may require moving around some variables and calls as the default filename relies on several variables defined during the plotting.

See for example in plot_vdf

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions