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

FIX: update ds9 region format #4674

Merged
merged 1 commit into from
Sep 25, 2023
Merged

Conversation

Xarthisius
Copy link
Member

Fixes #4591

PR Summary

Simple line break fixed it.

@@ -335,6 +336,7 @@
" method=\"sum\",\n",
")\n",
"prj.set_log((\"fits\", \"flux\"), True)\n",
"prj.set_zlim((\"fits\", \"flux\"), 1e-5)\n",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this necessary or just an improvement of the illustrative figure ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Necessary. Flux field has 0s and you end up with Traceback about invalid vmin/vmax if you don't set limits.

@neutrinoceros
Copy link
Member

@yt-fido test this please

@jzuhone jzuhone merged commit 5efad13 into yt-project:main Sep 25, 2023
12 checks passed
@Xarthisius Xarthisius deleted the issue_4591 branch September 25, 2023 19:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

doc: example region extraction in X-ray fits fails
3 participants