Updated docs to include plugins
This commit is contained in:
parent
2ef6395be2
commit
034a45e400
6 changed files with 21 additions and 3 deletions
|
|
@ -1 +1,3 @@
|
|||
__all__ = ['search_plugin_dirs', 'find_plugins', 'load_plugin', 'PluginMount', 'MicroscopePlugin']
|
||||
|
||||
from .loader import search_plugin_dirs, find_plugins, load_plugin, PluginMount, MicroscopePlugin
|
||||
|
|
@ -21,6 +21,9 @@ class OtherPlugin(MicroscopePlugin):
|
|||
An example of a second Microscope plugin, loaded from the same plugin file.
|
||||
"""
|
||||
def run(self):
|
||||
"""
|
||||
Demonstrate access to Microscope.camera, and Microscope.stage
|
||||
"""
|
||||
print("Stage plugin parent stage:")
|
||||
print(self.stage)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue