I\'m trying to write r(\'A$_{.1}$\') as a label in python. However, if I do this, there is a weird spacing after the period. In Latex this would be sorted by using \'.\\\',