add comment explaining why plotting needs to be imported