Skip to content
Snippets Groups Projects
Commit 4f67810e authored by Felix Kleinert's avatar Felix Kleinert
Browse files

Merge branch 'felix_issue355-include-mann-whitney-u-rank-test' into felix_TF2_merge_test

parents 53453dbd a2202a04
No related branches found
No related tags found
No related merge requests found
Pipeline #89795 failed
...@@ -1378,6 +1378,8 @@ class PlotSampleUncertaintyFromBootstrap(AbstractPlotClass): # pragma: no cover ...@@ -1378,6 +1378,8 @@ class PlotSampleUncertaintyFromBootstrap(AbstractPlotClass): # pragma: no cover
x2 = i x2 = i
y = data_table[[self.model_name, data_table.columns[i]]].max().max() y = data_table[[self.model_name, data_table.columns[i]]].max().max()
y = max(y, y_prev) * 1.025 y = max(y, y_prev) * 1.025
if abs(y-y_prev) < y * 0.025:
y = y * 1.025
h = .01 * data_table.max().max() h = .01 * data_table.max().max()
ax.plot([x1, x1, x2, x2], [y, y + h, y + h, y], c="k") ax.plot([x1, x1, x2, x2], [y, y + h, y + h, y], c="k")
ax.text((x1 + x2) * .5, y + h, v, ha="center", va="bottom", color="k") ax.text((x1 + x2) * .5, y + h, v, ha="center", va="bottom", color="k")
...@@ -1392,6 +1394,8 @@ class PlotSampleUncertaintyFromBootstrap(AbstractPlotClass): # pragma: no cover ...@@ -1392,6 +1394,8 @@ class PlotSampleUncertaintyFromBootstrap(AbstractPlotClass): # pragma: no cover
y2 = i y2 = i
x = data_table[[self.model_name, data_table.columns[i]]].max().max() x = data_table[[self.model_name, data_table.columns[i]]].max().max()
x = max(x, x_prev) * 1.025 x = max(x, x_prev) * 1.025
if abs(x-x_prev) < x * 0.025:
x = x * 1.025
h = .01 * data_table.max().max() h = .01 * data_table.max().max()
ax.plot([x, x+h, x+h, x], [y1, y1, y2, y2], c="k") ax.plot([x, x+h, x+h, x], [y1, y1, y2, y2], c="k")
ax.text(x + h, (y1 + y2) * .5, v, ha="left", va="center", color="k", rotation=-90) ax.text(x + h, (y1 + y2) * .5, v, ha="left", va="center", color="k", rotation=-90)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment