Skip to content

Commit

Permalink
📝 Fix documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Xen0Xys committed May 7, 2024
1 parent 6771c6f commit 8c1bdce
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/ipyaladin/aladin.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ def fov(self, fov: Union[float, Angle]) -> None:
def target(self) -> SkyCoord:
"""The target of the Aladin Lite widget.
It can be set with either a string of an `~astropy.coordinates.SkyCoord` object.
It can be set with either a string or an `~astropy.coordinates.SkyCoord` object.
Returns
-------
Expand Down Expand Up @@ -327,8 +327,6 @@ def add_table(self, table: Union[QTable, Table], **table_options: any) -> None:
And the table should appear in the output of Cell 1!
"""
# this library must be installed, and is used in votable operations
# http://www.astropy.org/
import io

table_bytes = io.BytesIO()
Expand Down Expand Up @@ -356,9 +354,6 @@ def add_overlay_from_stcs(self, stc_string: str, **overlay_options: any) -> None
}
)

# Note: the print() options end='\r'allow us to override the previous prints,
# thus only the last message will be displayed at the screen

def get_JPEG_thumbnail(self) -> None:
"""Create a popup window with the current Aladin view."""
self.send({"event_name": "get_JPG_thumbnail"})
Expand Down

0 comments on commit 8c1bdce

Please sign in to comment.