- logging.info(f" Generating the graph: {name}")
-
- pdr = test[u"throughput"][u"PDR"][u"LOWER"]
- ndr = test[u"throughput"][u"NDR"][u"LOWER"]
-
- desc = {
- u"LAT0": u"No load",
- u"PDR10": f"10% PDR background traffic ({(pdr*1e-7):.2f}Mpps)",
- u"PDR50": f"50% PDR background traffic ({(pdr*5e-7):.2f}Mpps)",
- u"PDR90": f"90% PDR background traffic ({(pdr*9e-7):.2f}Mpps)",
- u"PDR": f"100% PDR background traffic ({(pdr*1e-6):.2f}Mpps)",
- u"NDR10": f"10% NDR background traffic ({(ndr*1e-7):.2f}Mpps)",
- u"NDR50": f"50% NDR background traffic ({(ndr*5e-7):.2f}Mpps)",
- u"NDR90": f"90% NDR background traffic ({(ndr*9e-7):.2f}Mpps)",
- u"NDR": f"100% NDR background traffic ({(ndr*1e-6):.2f}Mpps)"
- }
-
- fig = make_subplots(
- rows=1,
- cols=2,
- column_widths=[0.5, 0.5],
- shared_xaxes=True,
- subplot_titles=(
- u"<b>Direction: W-E</b>",
- u"<b>Direction: E-W</b>"
- ),
- specs=[[{"type": "scatter"}, {"type": "scatter"}], ]
- )