altered array handling in plotting, to enable numpy operations on atoms