Skip to content

Commit 8559eb2

Browse files
authored
AnnotationSeries code formatting (#2003)
1 parent bb782e8 commit 8559eb2

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

docs/gallery/general/plot_file.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -297,10 +297,12 @@
297297
# object with text information about a stimulus and add it to the stimulus group in
298298
# the :py:class:`~pynwb.file.NWBFile`.
299299

300-
annotations = AnnotationSeries(name='airpuffs',
301-
data=['Left Airpuff', 'Right Airpuff', 'Right Airpuff'],
302-
description='Airpuff events delivered to the animal',
303-
timestamps=[1.0, 3.0, 8.0])
300+
annotations = AnnotationSeries(
301+
name='airpuffs',
302+
data=['Left Airpuff', 'Right Airpuff', 'Right Airpuff'],
303+
description='Airpuff events delivered to the animal',
304+
timestamps=[1.0, 3.0, 8.0],
305+
)
304306

305307
nwbfile.add_stimulus(annotations)
306308

0 commit comments

Comments
 (0)