rename x to object in autoplot function for consistency