aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/bin/online_sessions.py
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2017-01-27 02:20:01 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2017-01-27 02:20:01 +0300
commitb60d60bfcfffdae5a4d6c98bef77137d9921b493 (patch)
tree7bec8f46da6fb1d95a1b0ebf3f5d97cb49b59695 /bin/online_sessions.py
parentdocs: update (diff)
downloadvk-scripts-b60d60bfcfffdae5a4d6c98bef77137d9921b493.tar.gz
vk-scripts-b60d60bfcfffdae5a4d6c98bef77137d9921b493.zip
refactoring & bugfix
Diffstat (limited to 'bin/online_sessions.py')
-rw-r--r--bin/online_sessions.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/online_sessions.py b/bin/online_sessions.py
index 7a763e5..5a9bdc8 100644
--- a/bin/online_sessions.py
+++ b/bin/online_sessions.py
@@ -227,12 +227,12 @@ class OutputWriterPlot:
if group_by is GroupBy.HOUR:
bar_chart.labels_align_middle = False
- inches_per_bar = bar_chart.THIN_BAR_HEIGHT
+ bar_height = bar_chart.THIN_BAR_HEIGHT
else:
- inches_per_bar = bar_chart.THICK_BAR_HEIGHT
+ bar_height = bar_chart.THICK_BAR_HEIGHT
bars = bar_chart.plot_bars(
- labels, durations, inches_per_bar=inches_per_bar)
+ labels, durations, bar_height=bar_height)
bar_chart.set_property(bars, alpha=.33)
if self._fd is sys.stdout: