drawing histogram in opencv-python,cv2.waitKey(0)