added a check in ggplot extractor for when axes are not defined