missingno icon indicating copy to clipboard operation
missingno copied to clipboard

Value Error while using missingno bar

Open prashant2-4-4 opened this issue 3 years ago • 1 comments

While working on a kaggle dataset for june challenge i came across this error.

ValueError: The number of FixedLocator locations (0), usually from a call to set_ticks, does not match the number of ticklabels (81).

I am using this code

import missingno as msno plt.figure(figsize = (20,10)) msno.bar(data) plt.show()

Please fix the issue.

prashant2-4-4 avatar Jun 10 '22 14:06 prashant2-4-4

Sounds pretty much like #135 to me :)

I also encountered the same issue on a dataset of (10000, 53) shape. Quick googling lead me to this issue here: https://github.com/Qiskit/qiskit/issues/990, where I picked up an idea of downgrading matplotlib to 3.2.2, which worked pretty well except that I needed to downgrade Python version to 3.8 as well.

lancedikson avatar Jul 17 '22 15:07 lancedikson