adjust API call to auto plot, now uses ::