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.
Merge pull request #3323 from MrLeeh/patch-2

BUG : fixes py3k unicode issues

Replaced unicode() function by six.text_type