summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
fa3c865)
- if there are no values, put warning to the log.
Change-Id: Ibea99e3f4962684afefa572c46bcca157b8ab3cf
Signed-off-by: Tibor Frank <tifrank@cisco.com>
- data_y_max.append(max(vals))
-
+ try:
+ data_y_max.append(max(vals))
+ except ValueError as err:
+ logging.warning(f"No values to use.\n{err!r}")
try:
# Create plot
layout = deepcopy(plot[u"layout"])
try:
# Create plot
layout = deepcopy(plot[u"layout"])