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

Glue window closes on 3D scatter plotting data in fits file #7

Open
abhijeetmanhas opened this issue Jan 25, 2020 · 0 comments
Open
Labels
bug Something isn't working

Comments

@abhijeetmanhas
Copy link

Describe the bug

I don't know whether it is right to raise issue here or main glue repo, as it was dealing with fits file so I raised here. It was importing Astronomy WCS plugin.

So the error is, when I try to plot light curve data from a fits file using 3D scatter plot, the glue window get closed without giving a message popup. The error log is given below:

To Reproduce
Steps to reproduce the behavior such as:

  1. Download fits file for exoplanet light curve https://www.cfa.harvard.edu/~avanderb/k2c19/ep206295996.html .
  2. Open glue and import file.
  3. Use 3D scatter option for visualization.
  4. See error

Expected behavior
Window should remain open and just display message like below or similar:

Incompatible way of displaying data.

Error Log

/home/abhimanhas/anaconda3/envs/sunpy-dev/lib/python3.7/site-packages/glue_vispy_viewers/extern/vispy/visuals/markers.py:560: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  ('a_edgewidth', np.float32, 1)])
Segmentation fault (core dumped)

Details:

  • Operating System: [e.g. Linux Ubuntu 18.0.4]
  • Python version (python --version): [e.g. Python 3.6.8]
  • Glue version (glue --version): [e.g. 0.15.6]
  • How you installed glue: [e.g. conda]

Additional context

I was just trying to plot kepler exoplanet data stored in fits files downloaded from NASA k2 archive. I know 2d scatter plot is best way to visualize data, but atleast glue's GUI should give an error message on window, instead of closing it abruptly.

@abhijeetmanhas abhijeetmanhas added the bug Something isn't working label Jan 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant