Skip to content

Commit

Permalink
Update docs/gallery/domain/plot_behavior.py
Browse files Browse the repository at this point in the history
  • Loading branch information
bendichter authored Feb 18, 2025
1 parent 8db8ebe commit 9a8bdfb
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions docs/gallery/domain/plot_behavior.py
Original file line number Diff line number Diff line change
Expand Up @@ -412,12 +412,7 @@

with NWBHDF5IO("behavioral_tutorial.nwb", "r") as io:
read_nwbfile = io.read()
behavior_module = read_nwbfile.processing["behavior"]

# Access Position interface using dictionary-style access
position = behavior_module["Position"]
spatial_series = position["SpatialSeries"]
print(spatial_series)
print(read_nwbfile.processing["behavior"]["Position"]["SpatialSeries"])

####################
# Data arrays are read passively from the file.
Expand Down

0 comments on commit 9a8bdfb

Please sign in to comment.