Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
plotID_python
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
plotID
plotID_python
Merge requests
!23
Resolve "PNG file is removed from working directory upon export"
Code
Review changes
Check out branch
Open in Workspace
Download
Patches
Plain diff
Expand sidebar
Merged
Resolve "PNG file is removed from working directory upon export"
57-png-file-is-removed-from-working-directory-upon-export
into
dev
Overview
0
Commits
2
Pipelines
5
Changes
5
Merged
Mayr, Hannes
requested to merge
57-png-file-is-removed-from-working-directory-upon-export
into
dev
2 years ago
Overview
0
Commits
2
Pipelines
5
Changes
5
Closes
#57 (closed)
Edited
2 years ago
by
Mayr, Hannes
0
0
Merge request reports
Compare
dev
version 1
6a381c5c
2 years ago
dev (base)
and
version 1
latest version
d397666f
2 commits,
2 years ago
version 1
6a381c5c
1 commit,
2 years ago
5 files
+
28
−
20
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
5
plotid/example.py
+
4
−
4
View file @ 6a381c5c
Edit in single-file editor
Open in Web IDE
Show full file
@@ -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_
ID
S
= 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