pywwt icon indicating copy to clipboard operation
pywwt copied to clipboard

Data layer example broken

Open astrofrog opened this issue 4 years ago • 2 comments

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:

Screenshot 2020-12-02 at 12 49 12

astrofrog avatar Dec 02 '20 12:12 astrofrog