Skip to content

Use the uuid package to generate figure names #273

@leouieda

Description

@leouieda

Description of the desired feature

GMT figure names need to be unique and are generated by the unique_name function in pygmt/helpers/tempfile.py. Currently, it uses tmpfile to generate a unique name but this isn't ideal and kind of a hack. A better way would be to use the builtin uuid.uuid4 function.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions