Replaced unicode() function by six.text_type

The Figure options dialog wasn' t working for me under Python3. Because ther is no unicode() function in Python3 I had to replace this by six.text_type.