From 8559eb2e9c1102caa254830d7e69bf71c486d9a8 Mon Sep 17 00:00:00 2001 From: Ben Dichter Date: Wed, 20 Nov 2024 11:24:51 -0500 Subject: [PATCH] AnnotationSeries code formatting (#2003) --- docs/gallery/general/plot_file.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/docs/gallery/general/plot_file.py b/docs/gallery/general/plot_file.py index d80db10ac..17a8b0bb2 100644 --- a/docs/gallery/general/plot_file.py +++ b/docs/gallery/general/plot_file.py @@ -297,10 +297,12 @@ # object with text information about a stimulus and add it to the stimulus group in # the :py:class:`~pynwb.file.NWBFile`. -annotations = AnnotationSeries(name='airpuffs', - data=['Left Airpuff', 'Right Airpuff', 'Right Airpuff'], - description='Airpuff events delivered to the animal', - timestamps=[1.0, 3.0, 8.0]) +annotations = AnnotationSeries( + name='airpuffs', + data=['Left Airpuff', 'Right Airpuff', 'Right Airpuff'], + description='Airpuff events delivered to the animal', + timestamps=[1.0, 3.0, 8.0], +) nwbfile.add_stimulus(annotations)