added argument to specify whether or not to only plot extant species