draw the rectangle tree using matplotlib
testing interactivly running matplotlib
using a separate process to show the figure