Script execution
This commit is contained in:
10
script/test/Layout.py
Normal file
10
script/test/Layout.py
Normal file
@@ -0,0 +1,10 @@
|
||||
|
||||
p = plot(None)[0]
|
||||
p.setLegendVisible(True)
|
||||
for block in get_blocks():
|
||||
print block
|
||||
(xmin, xmax) = block.x_range
|
||||
(ymin, ymax) = block.y_range
|
||||
plot_rectangle(p, xmin, ymin, xmax, ymax, name = block.id)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user