X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Ftools%2Fpresentation%2Fgenerator_plots.py;h=f875d09b94c7eba37bb1b5052a034639fca71ea1;hb=75afcbc8614c69755c008e0d63eaf6ac79cb3184;hp=c1e5bed8930ea10c76a597ec8e818d41a0ff29a4;hpb=48cd54ff00049d58494834d25d3f0ac846ce4017;p=csit.git diff --git a/resources/tools/presentation/generator_plots.py b/resources/tools/presentation/generator_plots.py index c1e5bed893..f875d09b94 100644 --- a/resources/tools/presentation/generator_plots.py +++ b/resources/tools/presentation/generator_plots.py @@ -32,12 +32,31 @@ from plotly.exceptions import PlotlyError from pal_utils import mean, stdev -COLORS = [u"SkyBlue", u"Olive", u"Purple", u"Coral", u"Indigo", u"Pink", - u"Chocolate", u"Brown", u"Magenta", u"Cyan", u"Orange", u"Black", - u"Violet", u"Blue", u"Yellow", u"BurlyWood", u"CadetBlue", u"Crimson", - u"DarkBlue", u"DarkCyan", u"DarkGreen", u"Green", u"GoldenRod", - u"LightGreen", u"LightSeaGreen", u"LightSkyBlue", u"Maroon", - u"MediumSeaGreen", u"SeaGreen", u"LightSlateGrey"] +COLORS = ( + u"#1A1110", + u"#DA2647", + u"#214FC6", + u"#01786F", + u"#BD8260", + u"#FFD12A", + u"#A6E7FF", + u"#738276", + u"#C95A49", + u"#FC5A8D", + u"#CEC8EF", + u"#391285", + u"#6F2DA8", + u"#FF878D", + u"#45A27D", + u"#FFD0B9", + u"#FD5240", + u"#DB91EF", + u"#44D7A8", + u"#4F86F7", + u"#84DE02", + u"#FFCFF1", + u"#614051" +) REGEX_NIC = re.compile(r'(\d*ge\dp\d\D*\d*[a-z]*)-') @@ -300,7 +319,7 @@ def plot_nf_reconf_box_name(plot, input_data): # Create plot layout = deepcopy(plot[u"layout"]) layout[u"title"] = f"Time Lost: {layout[u'title']}" - layout[u"yaxis"][u"title"] = u"Implied Time Lost [s]" + layout[u"yaxis"][u"title"] = u"Effective Blocked Time [s]" layout[u"legend"][u"font"][u"size"] = 14 layout[u"yaxis"].pop(u"range") plpl = plgo.Figure(data=traces, layout=layout)