Skip to content

Commit

Permalink
Merge branch 'master' into pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
  • Loading branch information
bendichter authored Jan 23, 2024
2 parents 59ef727 + fdc0309 commit 4f071cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ $ docker run -p 8866:8866 ghcr.io/NeurodataWithoutBorders/nwbwidgets-panel:lates
![](https://drive.google.com/uc?export=download&id=1JtI2KtT8MielIMvvtgxRzFfBTdc41LiE)

## Documentation
See our [ReadTheDocs page](https://nwb-widgets.readthedocs.io/en/main/) for full documentation, including a gallery of all supported formats.
See our [ReadTheDocs page](https://nwb-widgets.readthedocs.io) for full documentation, including a gallery of all supported formats.

## How it works
All visualizations are controlled by the dictionary `neurodata_vis_spec`. The keys of this dictionary are pynwb neurodata types, and the values are functions that take as input that neurodata_type and output a visualization. The visualizations may be of type `Widget` or `matplotlib.Figure`. When you enter a neurodata_type instance into `nwb2widget`, it searches the `neurodata_vis_spec` for that instance's neurodata_type, progressing backwards through the parent classes of the neurodata_type to find the most specific neurodata_type in `neurodata_vis_spec`. Some of these types are containers for other types, and create accordian UI elements for its contents, which are then passed into the `neurodata_vis_spec` and rendered accordingly.
Expand Down

0 comments on commit 4f071cc

Please sign in to comment.