expose categorical ranges, axes in python and add example in plotting/files