Closed cristobal-sifon closed 3 years ago
when running corner(chain) I get
corner(chain)
--------------------------------------------------------------------------- AttributeError Traceback (most recent call last) <ipython-input-82-99089eb8bac9> in <module> ----> 1 corner(chain, names=('f_c','a','p_off','R_off')) /opt/miniconda3/envs/kidsggl/lib/python3.8/site-packages/plottools/statsplots.py in corner(X, config, names, labels, bins, bins1d, clevels, contour_reference, truths, truths_in_1d, truth_color, smooth, likelihood, likesmooth, color_likelihood, colors, cmap, ls1d, ls2d, style1d, medians1d, percentiles1d, background, bweight, bcolor, alpha, limits, show_likelihood_1d, ticks, show_contour, top_labels, pad, h_pad, w_pad, output, verbose, names_kwargs, **kwargs) 377 model_lines.append(line) 378 else: --> 379 n, e, patches = ax.hist( 380 Xm[i], bins=bins1d[m][i], histtype=histtype, 381 color=color1d[m], normed=True) /opt/miniconda3/envs/kidsggl/lib/python3.8/site-packages/matplotlib/__init__.py in inner(ax, data, *args, **kwargs) 1436 def inner(ax, *args, data=None, **kwargs): 1437 if data is None: -> 1438 return func(ax, *map(sanitize_sequence, args), **kwargs) 1439 1440 bound = new_sig.bind(ax, *args, **kwargs) /opt/miniconda3/envs/kidsggl/lib/python3.8/site-packages/matplotlib/axes/_axes.py in hist(self, x, bins, range, density, weights, cumulative, bottom, histtype, align, orientation, rwidth, log, color, label, stacked, **kwargs) 6818 if patch: 6819 p = patch[0] -> 6820 p.update(kwargs) 6821 if lbl is not None: 6822 p.set_label(lbl) /opt/miniconda3/envs/kidsggl/lib/python3.8/site-packages/matplotlib/artist.py in update(self, props) 994 func = getattr(self, f"set_{k}", None) 995 if not callable(func): --> 996 raise AttributeError(f"{type(self).__name__!r} object " 997 f"has no property {k!r}") 998 ret.append(func(v)) AttributeError: 'Polygon' object has no property 'normed'
this is with version 0.4.6
0.4.6
when running
corner(chain)
I getthis is with version
0.4.6