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

Spyder variable explorer crashes when visualizing quantities array #164

Open
moux233 opened this issue Oct 7, 2019 · 2 comments
Open

Spyder variable explorer crashes when visualizing quantities array #164

moux233 opened this issue Oct 7, 2019 · 2 comments

Comments

@moux233
Copy link

moux233 commented Oct 7, 2019

Hello all,
I use Spyder 3.3.6
When I create an array quantity as follows:
a0 = pq.Quantity(np.random.normal(loc=0.5, size=(60, 23)), 'Oe')
It appears in the variable explorer.
When I double click in the variable explorer to inspect the data, Spyder crashes.
Repeated multiple times.
Spyder does not crash with scalar and vector quantities, nor with numpy arrays.
Any clue?

@apdavison
Copy link
Contributor

Have you raised this issue on the Spyder issue tracker? It sounds more like a Spyder issue than a quantities one.

@moux233
Copy link
Author

moux233 commented Oct 8, 2019

Thanks for the advice, I have reported the issue on the Spyder issue tracker.
However, the fact that Spyder does not crash with numpy arrays, pandas, xarrays, my own array subclass, but strictly with quantities arrays, puzzles me.

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

2 participants