Update datacursor.py

python 3 support