title: opencv-python namedWindow() can't resize window
body: <p>I am using <code>namedWindow()</code> function in my code to resize the image's window. The mouse cursor showing i can resize the windows, but it actually can't. Here is my code</p>
  
  <pre><code>import numpy as np
  import cv2
  
  img=cv2.imread('/home/jeff/Downloads/iphone.png', 1)
  cv2.namedWindow('image',cv2.WINDOW_NORMAL)
  cv2.imshow('image',img)
  cv2.waitKey(0)
  cv2.destroyAllWindows()
  </code></pre>
  
  <p>Please assist. Thanks.</p>