aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2020-05-30 12:54:03 +0200
committerFlorian Fischer <florian.fl.fischer@fau.de>2020-06-02 11:18:47 +0200
commita07eace3b74d850998d493d1ecf9c99abb2b6f8a (patch)
tree60e24c1eb10b83787e68d732989bb60d4abb62a0
parent644f75039a9ef4bf59e0ca633c9d59fd849c943a (diff)
downloadallocbench-a07eace3b74d850998d493d1ecf9c99abb2b6f8a.tar.gz
allocbench-a07eace3b74d850998d493d1ecf9c99abb2b6f8a.zip
[plots] rename _get_y_data to get_y_data
-rw-r--r--allocbench/plots.py34
1 files changed, 17 insertions, 17 deletions
diff --git a/allocbench/plots.py b/allocbench/plots.py
index cf7a0e3..bf47cbb 100644
--- a/allocbench/plots.py
+++ b/allocbench/plots.py
@@ -249,19 +249,19 @@ def _plot(bench,
width = 1 / (n_allocators + 1)
plot_options['width'] = width
for i, allocator in enumerate(allocators):
- y_data = _get_y_data(bench,
- y_expression,
- allocator,
- perms,
- stat='mean',
- scale=scale)
+ y_data = get_y_data(bench,
+ y_expression,
+ allocator,
+ perms,
+ stat='mean',
+ scale=scale)
if plot_options.get('yerr', False):
- plot_options['yerr'] = _get_y_data(bench,
- y_expression,
- allocator,
- perms,
- stat='std')
+ plot_options['yerr'] = get_y_data(bench,
+ y_expression,
+ allocator,
+ perms,
+ stat='std')
try:
plot_func = getattr(plt, plot_type)
except AttributeError:
@@ -799,12 +799,12 @@ def pgfplot(bench,
for perm in perms:
xval = _eval_with_stat(bench, xexpr, alloc_name, perm, "mean")
- yval = _get_y_data(bench,
- yexpr,
- alloc_name,
- perm,
- "mean",
- scale=scale)
+ yval = get_y_data(bench,
+ yexpr,
+ alloc_name,
+ perm,
+ "mean",
+ scale=scale)
error = ""
if error_bars:
error = f" {_eval_with_stat(bench, yexpr, alloc_name, perm, 'std')}"