aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/presentation/generator_plots.py
diff options
context:
space:
mode:
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))