plt imshow typeerror invalid dimensions for image data

Solutions on MaxInterview for plt imshow typeerror invalid dimensions for image data by the best coders in the world