-
Notifications
You must be signed in to change notification settings - Fork 271
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 field access in ytdata docs. #4388
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
While we're at it, might as well align the style with the rest of the docs.
I'll check the docs build when it completes !
print (array_ds.data["data", "region_density"]) | ||
print (array_ds.data["data", "sphere_density"]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
print (array_ds.data["data", "region_density"]) | |
print (array_ds.data["data", "sphere_density"]) | |
print(array_ds.data["data", "region_density"]) | |
print(array_ds.data["data", "sphere_density"]) |
@@ -245,4 +245,4 @@ dictionary. | |||
yt.save_as_dataset(fake_ds, "random_data.h5", my_data) | |||
|
|||
new_ds = yt.load("random_data.h5") | |||
print (new_ds.data["gas", "density"]) | |||
print (new_ds.data["data", "density"]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
print (new_ds.data["data", "density"]) | |
print(new_ds.data["data", "density"]) |
my comments are not critical, and I can confirm the fix, so let's get in. Thanks Britton ! |
Ah, sorry, I had checked out for the day. Feel free to apply that sort of thing to my PRs in the future. Thanks! |
PR Summary
I stumbled across an error in the render of the docs. This should fix it.
PR Checklist