From d42323646c3d2ad4f0de685daf10fea508af808f Mon Sep 17 00:00:00 2001 From: gac-S_Changer Date: Mon, 10 Jul 2017 08:51:06 +0200 Subject: [PATCH] Script execution --- script/test/Layout.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 script/test/Layout.py diff --git a/script/test/Layout.py b/script/test/Layout.py new file mode 100644 index 0000000..43ed6d1 --- /dev/null +++ b/script/test/Layout.py @@ -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) + + \ No newline at end of file