Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data layer example broken #281

Open
astrofrog opened this issue Dec 2, 2020 · 2 comments
Open

Data layer example broken #281

astrofrog opened this issue Dec 2, 2020 · 2 comments

Comments

@astrofrog
Copy link
Member

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
Copy link
Member Author

Investigating...

@astrofrog
Copy link
Member Author

It looks like we now need to specify lon_unit='degree' explicitly in the example

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant