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 is not working #216

Open
Ajma999 opened this issue Dec 16, 2024 · 1 comment
Open

Spyder is not working #216

Ajma999 opened this issue Dec 16, 2024 · 1 comment

Comments

@Ajma999
Copy link

Ajma999 commented Dec 16, 2024

Hi.

I have generated a code in xrtqook, which works fine. But when I copy paste it in spyder it generates plots without any beam profile in it. It seems it does not do the ray tracing.

Could anybody help?

@yxrmz
Copy link
Collaborator

yxrmz commented Dec 22, 2024

I guess you are running your code in IPython console, which is the default behavior, the plots are initialized empty and never get updated. The easiest would be to try running your script in an external terminal (Ctrl-F6 or Run/Configuration per file, ->"Run with custom configuration"->"Execute in an external system terminal")

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