aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/presentation/generator_plots.py
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2021-11-19 13:08:01 +0100
committerTibor Frank <tifrank@cisco.com>2021-11-19 12:11:40 +0000
commitfb76ee6b1de48b36d2c2170507c4aadd4bc95d85 (patch)
treeda4485009cfcfd2c7579983cf97a42e0127f7959 /resources/tools/presentation/generator_plots.py
parent19119b4c15975ee7050de053cef2172a725ce53d (diff)
PAL: Add boxpoints to all box graphs
Change-Id: Ic316149bab15c6fe1efccb53df0afa1cc78b3672 Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'resources/tools/presentation/generator_plots.py')
-rw-r--r--resources/tools/presentation/generator_plots.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/resources/tools/presentation/generator_plots.py b/resources/tools/presentation/generator_plots.py
index 2d723145bf..2849007473 100644
--- a/resources/tools/presentation/generator_plots.py
+++ b/resources/tools/presentation/generator_plots.py
@@ -912,8 +912,8 @@ def plot_ndrpdr_box_name(plot, input_data):
),
hoverinfo=u"y+name"
)
- box_points = plot.get(u"boxpoints", None)
- if box_points and box_points in \
+ box_points = plot.get(u"boxpoints", u"all")
+ if box_points in \
(u"all", u"outliers", u"suspectedoutliers", False):
kwargs[u"boxpoints"] = box_points
kwargs[u"jitter"] = 0.3
@@ -1021,9 +1021,8 @@ def plot_mrr_box_name(plot, input_data):
name=data_names[idx],
hoverinfo=u"y+name"
)
- box_points = plot.get(u"boxpoints", None)
- if box_points and box_points in \
- (u"all", u"outliers", u"suspectedoutliers", False):
+ box_points = plot.get(u"boxpoints", u"all")
+ if box_points in (u"all", u"outliers", u"suspectedoutliers", False):
kwargs[u"boxpoints"] = box_points
kwargs["jitter"] = 0.3
traces.append(plgo.Box(**kwargs))