Skip to content
Snippets Groups Projects

Allow to not print the ID on to the plot by passing id_on_plot=False to tagplot().

5 files
+ 37
25
Compare changes
  • Side-by-side
  • Inline
Files
5
+ 3
0
@@ -40,6 +40,8 @@ class PlotOptions:
The default is 'time'.
qrcode : bool, optional
Experimental status. Print qrcode on exported plot. Default: False.
id_on_plot: bool, optional
Print ID on the plot. Default: True.
"""
def __init__(self, figs, rotation, position, **kwargs):
@@ -51,6 +53,7 @@ class PlotOptions:
self.prefix = kwargs.get("prefix", "")
self.id_method = kwargs.get("id_method", "time")
self.qrcode = kwargs.get("qrcode", False)
self.id_on_plot = kwargs.get("id_on_plot", True)
def __str__(self):
"""Representation if an object of this class is printed."""
Loading