You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Calling corner.corner with 1-dimensional data and truths leads to a TypeError, see the traceback and example below.
As far as I can tell, this is new to v2.2.3 and works in previous versions.
Traceback
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/mjwill/.conda/envs/nessai/lib/python3.10/site-packages/corner/corner.py", line 280, in corner
return arviz_corner(
File "/home/mjwill/.conda/envs/nessai/lib/python3.10/site-packages/corner/arviz_corner.py", line 136, in arviz_corner
fig = corner_impl(
File "/home/mjwill/.conda/envs/nessai/lib/python3.10/site-packages/corner/core.py", line 457, in corner_impl
overplot_lines(fig, truths, reverse=reverse, color=truth_color)
File "/home/mjwill/.conda/envs/nessai/lib/python3.10/site-packages/corner/core.py", line 847, in overplot_lines
axes[k1, k1].axvline(xs[k1], **kwargs)
TypeError: 'AxesSubplot' object is not subscriptable
Calling
corner.corner
with 1-dimensional data andtruths
leads to aTypeError
, see the traceback and example below.As far as I can tell, this is new to v2.2.3 and works in previous versions.
Traceback
Minimum example
The text was updated successfully, but these errors were encountered: