diff --git a/docs/gallery/advanced_io/plot_editing.py b/docs/gallery/advanced_io/plot_editing.py index cf19bb610..b08b2adfd 100644 --- a/docs/gallery/advanced_io/plot_editing.py +++ b/docs/gallery/advanced_io/plot_editing.py @@ -24,6 +24,9 @@ First, let's create an NWB file with data: """ + +# sphinx_gallery_thumbnail_path = "figures/gallery_thumbnails_editing.png" + from pynwb import NWBHDF5IO, NWBFile, TimeSeries from datetime import datetime from dateutil.tz import tzlocal diff --git a/docs/gallery/general/plot_configurator.py b/docs/gallery/general/plot_configurator.py index 0156a8fef..431f5891e 100644 --- a/docs/gallery/general/plot_configurator.py +++ b/docs/gallery/general/plot_configurator.py @@ -8,7 +8,7 @@ Introduction ------------- Users will create a configuration YAML file that outlines the fields (within a neurodata type) -they want to be validated against a set of allowed terms. +they want to be validated against a set of allowed terms. After creating the configuration file, users will need to load the configuration file with the :py:func:`~pynwb.load_type_config` method. With the configuration loaded, every instance of the neurodata @@ -16,10 +16,10 @@ :py:class:`~hdmf.term_set.TermSetWrapper`. This automatic wrapping is what provides the term validation for the field value. For greater control on which datasets and attributes are validated -against which sets of allowed terms, use the +against which sets of allowed terms, use the :py:class:`~hdmf.term_set.TermSetWrapper` on individual datasets and attributes instead. -You can follow the -`TermSet tutorial in the HDMF documentation +You can follow the +`TermSet tutorial in the HDMF documentation `_ for more information. @@ -42,6 +42,8 @@ 3. Each data type will have a list of fields associated with a :py:class:`~hdmf.term_set.TermSet`. The user can use the same or unique TermSet instances for each field. """ +# sphinx_gallery_thumbnail_path = 'figures/gallery_thumbnails_configurator.png' + try: import linkml_runtime # noqa: F401 except ImportError as e: diff --git a/docs/source/figures/gallery_thumbnails.pptx b/docs/source/figures/gallery_thumbnails.pptx index 51ebe79d0..765cf2e2a 100644 Binary files a/docs/source/figures/gallery_thumbnails.pptx and b/docs/source/figures/gallery_thumbnails.pptx differ diff --git a/docs/source/figures/gallery_thumbnails_configurator.png b/docs/source/figures/gallery_thumbnails_configurator.png new file mode 100644 index 000000000..9995c387d Binary files /dev/null and b/docs/source/figures/gallery_thumbnails_configurator.png differ diff --git a/docs/source/figures/gallery_thumbnails_editing.png b/docs/source/figures/gallery_thumbnails_editing.png new file mode 100644 index 000000000..54c52fb27 Binary files /dev/null and b/docs/source/figures/gallery_thumbnails_editing.png differ