Open mmagnuski opened 10 months ago
Not sure if the install (pip+setuptools from pyproject.toml to a new conda env) is relevant here, but I detected it in this context:
# line plot # --------- > ax = clst.plot(dims='time') borsar\cluster\tests\test_cluster.py:921: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ borsar\cluster\obj.py:632: in plot return plot_cluster_chan(self, picks, dims=dims, vmin=vmin, borsar\cluster\viz.py:286: in plot_cluster_chan _mark_cluster_range(clst_mask, x_axis, ax) borsar\cluster\utils.py:149: in _mark_cluster_range ax.add_patch(ptch) C:\Users\Asus\miniconda3\envs\test_env1\Lib\site-packages\matplotlib\axes\_base.py:2384: in add_patch self._update_patch_limits(p) C:\Users\Asus\miniconda3\envs\test_env1\Lib\site-packages\matplotlib\axes\_base.py:2415: in _update_patch_limits patch_trf = patch.get_transform() C:\Users\Asus\miniconda3\envs\test_env1\Lib\site-packages\matplotlib\patches.py:261: in get_transform return self.get_patch_transform() + artist.Artist.get_transform(self) C:\Users\Asus\miniconda3\envs\test_env1\Lib\site-packages\matplotlib\patches.py:751: in get_patch_transform bbox = self.get_bbox() C:\Users\Asus\miniconda3\envs\test_env1\Lib\site-packages\matplotlib\patches.py:882: in get_bbox return transforms.Bbox.from_extents(*self._convert_units()) C:\Users\Asus\miniconda3\envs\test_env1\Lib\site-packages\matplotlib\transforms.py:829: in from_extents bbox = Bbox(np.reshape(args, (2, 2))) C:\Users\Asus\miniconda3\envs\test_env1\Lib\site-packages\numpy\core\fromnumeric.py:285: in reshape return _wrapfunc(a, 'reshape', newshape, order=order) C:\Users\Asus\miniconda3\envs\test_env1\Lib\site-packages\numpy\core\fromnumeric.py:56: in _wrapfunc return _wrapit(obj, method, *args, **kwds) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ obj = (0.2014705882352941, 0.3350214902538469, array([0.325]), array([0.77099494])), method = 'reshape' args = ((2, 2),), kwds = {'order': 'C'}, wrap = None def _wrapit(obj, method, *args, **kwds): try: wrap = obj.__array_wrap__ except AttributeError: wrap = None > result = getattr(asarray(obj), method)(*args, **kwds) E ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (4,) + inhomogeneous part. C:\Users\Asus\miniconda3\envs\test_env1\Lib\site-packages\numpy\core\fromnumeric.py:45: ValueError
Not sure if the install (pip+setuptools from pyproject.toml to a new conda env) is relevant here, but I detected it in this context: