This plugin contains an example of using both Python and JS together in a FiftyOne plugin.
It demonstrates how to do the following:
- use Python and JS in the same plugin
- define a
Panel
- ad hoc operator execution
- hook-based operator execution
- how to use the
build
package to build a JS plugin
fiftyone plugins download \
https://github.com/voxel51/fiftyone-plugins \
--plugin-names @voxel51/hello-world
Refer to the main README for more information about managing downloaded plugins and developing plugins locally.
A basic Python operator that displays the number of samples in the current view or optionally the entire dataset.
A basic JS operator that displays an alert.