|
|
|
@ -415,16 +415,15 @@ def servis_graph(session, fname='plot', output_ext='ascii'): |
|
|
|
from servis import render_multiple_time_series_plot |
|
|
|
from servis import render_multiple_time_series_plot |
|
|
|
if output_ext == 'ascii': |
|
|
|
if output_ext == 'ascii': |
|
|
|
render_multiple_time_series_plot( |
|
|
|
render_multiple_time_series_plot( |
|
|
|
ydata, |
|
|
|
ydatas=ydata, |
|
|
|
[xdata_to_int]*5, |
|
|
|
xdatas=[xdata_to_int]*5, |
|
|
|
summary, |
|
|
|
title=summary, |
|
|
|
titles, |
|
|
|
subtitles=titles, |
|
|
|
['time']*5, |
|
|
|
xtitles=['time']*5, |
|
|
|
[None]*5, |
|
|
|
xunits=[None]*5, |
|
|
|
y_titles, |
|
|
|
ytitles=y_titles, |
|
|
|
[None]*5, |
|
|
|
yunits=[None]*5, |
|
|
|
[(0, 160)]*5, |
|
|
|
y_ranges=[(0, 100)]*5, |
|
|
|
[(0, 100)]*5, |
|
|
|
|
|
|
|
outpath=Path(fname), |
|
|
|
outpath=Path(fname), |
|
|
|
trimxvalues=False, |
|
|
|
trimxvalues=False, |
|
|
|
figsize=(90, 70) |
|
|
|
figsize=(90, 70) |
|
|
|
@ -432,14 +431,14 @@ def servis_graph(session, fname='plot', output_ext='ascii'): |
|
|
|
elif output_ext == 'html': |
|
|
|
elif output_ext == 'html': |
|
|
|
l = convert_labels_to_tags(labels) |
|
|
|
l = convert_labels_to_tags(labels) |
|
|
|
render_multiple_time_series_plot( |
|
|
|
render_multiple_time_series_plot( |
|
|
|
ydata, |
|
|
|
ydatas=ydata, |
|
|
|
[xdata_to_int]*5, |
|
|
|
xdatas=[xdata_to_int]*5, |
|
|
|
summary, |
|
|
|
title=summary, |
|
|
|
titles, |
|
|
|
subtitles=titles, |
|
|
|
['time']*5, |
|
|
|
xtitles=['time']*5, |
|
|
|
[None]*5, |
|
|
|
xunits=[None]*5, |
|
|
|
y_titles, |
|
|
|
ytitles=y_titles, |
|
|
|
[None]*5, |
|
|
|
yunits=[None]*5, |
|
|
|
y_ranges=[(0, 100)]*5, |
|
|
|
y_ranges=[(0, 100)]*5, |
|
|
|
outpath=Path(fname), |
|
|
|
outpath=Path(fname), |
|
|
|
outputext=['html'], |
|
|
|
outputext=['html'], |
|
|
|
|