aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2016-06-18 05:37:26 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2016-06-18 05:37:26 +0300
commitf7932bbb45f0f5baf2f2df0c38fa3d20ded18646 (patch)
tree5701d8a8ac46420b9df4907c4f26a4c8841c5dba
parentonline_streak_duration.py: grouping by date/wday (diff)
downloadvk-scripts-f7932bbb45f0f5baf2f2df0c38fa3d20ded18646.tar.gz
vk-scripts-f7932bbb45f0f5baf2f2df0c38fa3d20ded18646.zip
online_streak_duration.py -> /online_duration.py
-rw-r--r--online_duration.py (renamed from vk/utils/tracking/utils/online_streak_duration.py)6
1 files changed, 3 insertions, 3 deletions
diff --git a/vk/utils/tracking/utils/online_streak_duration.py b/online_duration.py
index 0d9313b..701d189 100644
--- a/vk/utils/tracking/utils/online_streak_duration.py
+++ b/online_duration.py
@@ -12,8 +12,8 @@ import sys
import matplotlib.pyplot as plt
import numpy as np
-from ..online_streaks import OnlineStreakEnumerator, Weekday
-from ..db import Format as DatabaseFormat
+from vk.utils.tracking.db import Format as DatabaseFormat
+from vk.utils.tracking.online_streaks import OnlineStreakEnumerator, Weekday
from vk.user import UserField
class Grouping(Enum):
@@ -244,7 +244,7 @@ class PlotBuilder:
bar_chart = BarChartBuilder()
- bar_chart.set_title('How much time people spend online?')
+ bar_chart.set_title('How much time people spend online')
bar_chart.set_value_grid()
bar_chart.set_integer_values_only()