Skip to content
Snippets Groups Projects
Commit f45b94d1 authored by nugget's avatar nugget
Browse files

Prevent merge conflicts.

parent 25824cce
No related branches found
No related tags found
2 merge requests!12v.0.1 for alpha release,!8First OOP implementation of tagplot.py.
Pipeline #724224 passed with warnings
Test0.tiff

486 KiB

Test1.tiff

486 KiB

#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Tag your plot with an ID.
For publishing the tagged plot along your research data have a look at the
module publish.
Functions:
TagPlot(figure object, string) -> list
"""
import warnings
from plotoptions import PlotOptions
......@@ -17,10 +26,10 @@ def tagplot(figs, engine, prefix='', id_method=1, location='east'):
----------
figs : list
Figures that should be tagged.
prefix : string
Will be added as prefix to the ID.
engine : string
Plot engine which should be used to tag the plot.
prefix : string
Will be added as prefix to the ID.
id_method : int, optional
id_method for creating the ID. Create an ID by Unix time is referenced
as 1, create a random ID with id_method=2. The default is 1.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment