Skip to content

Commit

Permalink
Update docs/gallery/advanced_io/plot_editing.py
Browse files Browse the repository at this point in the history
Co-authored-by: Oliver Ruebel <[email protected]>
  • Loading branch information
bendichter and oruebel authored Jan 31, 2024
1 parent 43fba1b commit b4f9180
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions docs/gallery/advanced_io/plot_editing.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,12 @@
io.write(nwbfile)

##############################################
# The ``None`` in ``maxshape`` means that the dataset has an unlimited shape. You can
# also use an integer to specify a fixed ``maxshape``. If you do not specify a
# ``maxshape``, then the dataset will have a fixed shape. You can change the shape of
# this dataset.
# The ``None``value in the first component of ``maxshape`` means that the
# the first dimension of the dataset is unlimited. By setting the second dimension
# of ``maxshape`` to ``100``, that dimension is fixed to be no larger than ``100``.
# If you do not specify a``maxshape``, then the shape of the dataset will be fixed
# to the shape that the dataset was created with. Here, you can change the shape of
# the first dimension of this dataset.


with NWBHDF5IO("test_edit2.nwb", "r+") as io:
Expand Down

0 comments on commit b4f9180

Please sign in to comment.