def __init__(self):
super(WallEEGApp, self).__init__()
self.user = User()
self.graph = Graph(xlabel='X', ylabel='Y', x_ticks_minor=5,
x_ticks_major=25, y_ticks_major=0.001,
y_grid_label=True, x_grid_label=True, padding=5,
x_grid=True, y_grid=True, xmin=-0, xmax=100,
ymin=-0.1,
ymax=0.1)
self.plot = MeshLinePlot(color=[1, 0, 0, 1])
self.counter = 0
# def build(self):
# return InSenseView()
# def build(self):
# g = Gui()
# point_collection = PointsCollection(1000, 1000, 0, 100, 0, 100)
#
# for i in range(100):
# x_coord = random.randint(
# point_collection.x_min, point_collection.x_max)
# y_coord = random.randint(
# point_collection.y_min, point_collection.y_max)
#
# point_collection.add_point_vals(x_coord, y_coord)
#
# for point in point_collection.points_list:
# g.grid.add_widget(point)
# # for i in range(24):
# # g.grid.add_widget(Button(text='test'))
#
# return g
评论列表
文章目录