Skip to content

Commit

Permalink
Merge pull request #3501 from neutrinoceros/hotfix_3500
Browse files Browse the repository at this point in the history
BUG: fix an outdated h5py idiom in a documentation notebook
  • Loading branch information
brittonsmith authored Sep 7, 2021
2 parents b1e3e28 + 84aa46b commit 0f57663
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/source/examining/Loading_Generic_Array_Data.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@
},
"outputs": [],
"source": [
"data = {k:(v.value,u) for (k,v), u in zip(f.items(),units)}\n",
"data = {k:(v[()],u) for (k,v), u in zip(f.items(),units)}\n",
"bbox = np.array([[-0.5, 0.5], [-0.5, 0.5], [-0.5, 0.5]])"
]
},
Expand Down

0 comments on commit 0f57663

Please sign in to comment.