import numpy as np
import matplotlib.pyplot as plt
import database,query,tuple_gen
import pprint
import numpy as np
import matplotlib.pyplot as plt


result = database.query(query.screen_open_over_time())


plt.title("Screen View")
plt.ylabel('count')
plt.xlabel('time')
x_ticks = tuple_gen.hour_minute_period(result,0,1,10)
y_vals = tuple_gen.base_float(result,2)

plt.plot(x_ticks,y_vals)

	
plt.show()




6457142ab400800b49ab7ab97210fd1549eb44ae
<mask token>

<mask token>
plt.title('Screen View')
plt.ylabel('count')
plt.xlabel('time')
<mask token>
plt.plot(x_ticks, y_vals)
plt.show()

<mask token>
result = database.query(query.screen_open_over_time())
plt.title('Screen View')
plt.ylabel('count')
plt.xlabel('time')
x_ticks = tuple_gen.hour_minute_period(result, 0, 1, 10)
y_vals = tuple_gen.base_float(result, 2)
plt.plot(x_ticks, y_vals)
plt.show()

import numpy as np
import matplotlib.pyplot as plt
import database, query, tuple_gen
import pprint
import numpy as np
import matplotlib.pyplot as plt
result = database.query(query.screen_open_over_time())
plt.title('Screen View')
plt.ylabel('count')
plt.xlabel('time')
x_ticks = tuple_gen.hour_minute_period(result, 0, 1, 10)
y_vals = tuple_gen.base_float(result, 2)
plt.plot(x_ticks, y_vals)
plt.show()

import numpy as np
import matplotlib.pyplot as plt
import database,query,tuple_gen
import pprint
import numpy as np
import matplotlib.pyplot as plt


result = database.query(query.screen_open_over_time())


plt.title("Screen View")
plt.ylabel('count')
plt.xlabel('time')
x_ticks = tuple_gen.hour_minute_period(result,0,1,10)
y_vals = tuple_gen.base_float(result,2)

plt.plot(x_ticks,y_vals)

	
plt.show()



