python2 matplotlib ValueError 'codes' must be a 1D list or array with the same length of 'vertices'

Опубликовано: 07 Октябрь 2024
на канале: gocha's learning space
77
0

Traceback (most recent call last):
File "./Path_bughunting.py", line 24, in module
path = Path(verts , codes)
File "/usr/lib/python2.7/dist-packages/matplotlib/path.py", line 148, in _init_
raise ValueError(msg)
ValueError: 'codes' must be a 1D list or array with the same length of 'vertices'