Update examples to use new plotting API