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
Traceback (most recent call last):
File "[...]/test.py", line 7, in <module>
h[:, "a"] *=2
File "[...]/lib/python3.9/site-packages/hist/basehist.py", line 327, in __setitem__returnsuper().__setitem__(self._index_transform(index), value)
File "[...]/lib/python3.9/site-packages/boost_histogram/_internal/hist.py", line 924, in __setitem__raiseTypeError("Not supported yet")
TypeError: Not supported yet
@agoose77 pointed out an alternative that works on Gitter:
h[:, "a"] =h[:, "a"].values() *2
I opened this issue as a feature request for the syntactic sugar of the first approach. Sorry if this is already being tracked elsewhere, I was not really sure what to search for to find potentially related issues!
The text was updated successfully, but these errors were encountered:
Hi, I ran into a scenario where I wanted to scale a part of a multi-dimensional histogram:
This is not currently supported:
@agoose77 pointed out an alternative that works on Gitter:
I opened this issue as a feature request for the syntactic sugar of the first approach. Sorry if this is already being tracked elsewhere, I was not really sure what to search for to find potentially related issues!
The text was updated successfully, but these errors were encountered: