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

BUG: unlock annotate_timestamp callback for polar and spherical geometries #4485

Merged
merged 1 commit into from
Jun 9, 2023

Conversation

neutrinoceros
Copy link
Member

PR Summary

This callback already works as intended with simple parametrization, I think it's worth unlocking now.

import yt
from yt.testing import fake_amr_ds

ds = fake_amr_ds(geometry="spherical")
p = yt.SlicePlot(ds, "r", "Density")
p.annotate_timestamp(draw_inset_box=True)
p.save("/tmp/sph.png")

sph

@neutrinoceros neutrinoceros added this to the 4.2.1 milestone Jun 9, 2023
matthewturk
matthewturk previously approved these changes Jun 9, 2023
@matthewturk matthewturk merged commit 4d0ab4d into yt-project:main Jun 9, 2023
meeseeksmachine pushed a commit to meeseeksmachine/yt that referenced this pull request Jun 9, 2023
@neutrinoceros neutrinoceros deleted the timestamp_support branch June 9, 2023 17:01
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.

2 participants