pywwt
pywwt copied to clipboard
Data layer example broken
The following example from the docs:
from pywwt.qt import WWTQtClient
wwt = WWTQtClient(block_until_ready=True)
from astropy.table import Table
OEC = 'https://worldwidetelescope.github.io/pywwt/data/open_exoplanet_catalogue.csv'
table = Table.read(OEC, delimiter=',', format='ascii.basic')
wwt.layers.add_table_layer(table=table, frame='Sky',
lon_att='ra', lat_att='dec', size_scale=100)
wwt.wait()
Now produces:
Investigating...
It looks like we now need to specify lon_unit='degree' explicitly in the example