Commit 7b9efea4 authored by Joel Collins's avatar Joel Collins
Browse files

Simplified microscope plugin method example

parent 1e7947e0
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -59,8 +59,11 @@ For example, a simple plugin file named `myplugin.py`, may look like:
            Demonstrate access to Microscope.camera, and Microscope.stage
            """

            response = "My parent camera is {}, and my parent stage is {}.".format(self.microscope.camera, 
                                                                                   self.microscope.stage)
            parent_camera = self.microscope.camera
            parent_stage = self.microscope.stage

            response = "My parent camera is {}, and my parent stage is {}.".format(parent_camera, 
                                                                                   parent_stage)
            return response

        def hello_world(self):