MCPcopy Index your code
hub / github.com/yosinski/deep-visualization-toolbox / Pane

Class Pane

live_vis.py:30–40  ·  view source on GitHub ↗

Hold info about one window pane (rectangular region within the main window)

Source from the content-addressed store, hash-verified

28
29
30class Pane(object):
31 '''Hold info about one window pane (rectangular region within the main window)'''
32
33 def __init__(self, i_begin, j_begin, i_size, j_size):
34 self.i_begin = i_begin
35 self.j_begin = j_begin
36 self.i_size = i_size
37 self.j_size = j_size
38 self.i_end = i_begin + i_size
39 self.j_end = j_begin + j_size
40 self.data = None # eventually contains a slice of the window buffer
41
42
43

Callers 1

init_windowMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected