Skip to content

Commit

Permalink
📝 Add documentation for _fov and shared_fov traits
Browse files Browse the repository at this point in the history
  • Loading branch information
Xen0Xys committed Apr 25, 2024
1 parent 580c372 commit 7480bd9
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions src/ipyaladin/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,17 @@ class Aladin(anywidget.AnyWidget):
help="A trait that can be used with `~ipywidgets.widgets.jslink`"
"to link two Aladin Lite widgets targets together",
).tag(sync=True)
_fov = Float(60.0).tag(sync=True, init_option=True)
shared_fov = Float(60.0).tag(sync=True)
_fov = Float(
60.0,
help="A private trait that stores the current field of view of the widget."
" Its public version is the 'fov' property that returns an "
"`~astropy.units.Angle` object",
).tag(sync=True, init_option=True)
shared_fov = Float(
60.0,
help="A trait that can be used with `~ipywidgets.widgets.jslink`"
"to link two Aladin Lite widgets field of view together",
).tag(sync=True)
survey = Unicode("https://alaskybis.unistra.fr/DSS/DSSColor").tag(
sync=True, init_option=True
)
Expand Down

0 comments on commit 7480bd9

Please sign in to comment.