0

when I use matplotlib on pycharm without using 'cycler', it shows the above type of error. Could you help? Appreciate!

      import cv2 as cv
      import numpy as np
      from matplotlib import pyplot as plt

      img = cv.imread('lena.jpg',-1)
      cv.imshow('image',img)
      img =cv.cvtColor(img, cv.COLOR_BGR2RGB)

      plt.imshow(img)
      plt.show(0)

      cv.waitKey(0)
      cv.destroyAllWindows()
Etsuka
  • 45
  • 7

1 Answers1

0

You can install cycler using below command:

pip install cycler (if you have pip installed)

If still you are facing same issue:

Please see tutorials: https://youtu.be/PXD7faWtdAg

Aashish Kaushik
  • 450
  • 4
  • 17