v1.5.21 updated plot_richness for more flexibility. Needs testing.