Skip to content
Snippets Groups Projects

Publish oop

Merged Mayr, Hannes requested to merge publish-oop into dev
1 unresolved thread
Files
9
+ 7
5
@@ -47,12 +47,14 @@ FIGS_AS_LIST = [FIG1, FIG2]
# %% Save figure as tiff-file, but publish also exports the plot to a picture
# file in the destination folder.
for i, figure in enumerate(TAGGED_FIGS):
NAME = "Test"+str(i)+".tiff"
figure.savefig(NAME)
# for i, figure in enumerate(TAGGED_FIGS):
# NAME = "Test"+str(i)+".tiff"
# figure.savefig(NAME)
# %% Publish
# Arguments: Source directory, destination directory, figure, plot name,
# publish-mode).
publish('../../tests', '/home/chief/Dokumente/fst/plotid_python/data',
FIG1, 'Bild', 'individual')
publish(['../README.md', '../tests', '../LICENSE'],
'/home/chief/Dokumente/fst/plotid_python/data',
FIGS_AS_LIST, 'Bild', 'individual')
Loading