Class checking to shiftnodes.plot