Skip to content
Snippets Groups Projects

Resolve "PNG file is removed from working directory upon export"

5 files
+ 28
20
Compare changes
  • Side-by-side
  • Inline

Files

+ 4
4
@@ -44,16 +44,16 @@ FIGS_AS_LIST = [FIG1, FIG2]
IMGS_AS_LIST = [IMG1, IMG2]
# Example for how to use tagplot with matplotlib figures
# [TAGGED_FIGS, ID] = tagplot(FIGS_AS_LIST, 'matplotlib', location='west',
# id_method='random', prefix=PROJECT_ID)
# FIGS_AND_IDS = tagplot(FIGS_AS_LIST, 'matplotlib', location='west',
# id_method='random', prefix=PROJECT_ID)
# Example for how to use tagplot with image files
FIGS_AND_IDS = tagplot(IMGS_AS_LIST, 'image', prefix=PROJECT_ID,
id_method='time', location='west')
id_method='time', location='west')
# %% Publish
# Arguments: Source directory or files as list, destination directory, figures,
# plots or images.
publish(FIGS_AND_IDS, ['../README.md', '../docs', '../LICENSE'],
'/home/chief/Dokumente/fst/plotid_python/data/', 'Bild')
'/home/chief/Dokumente/fst/plotid_python/data/', 'image')
Loading