update hover python example