plot_tree should accept singular structure

fix bug introduced in 4c5a6432be45b9878b1df84ba38aa4186ca6712b:
'structures' can be an int (since plot_tree accepts singular 'structure'
which intuitively should be an int)