-
Notifications
You must be signed in to change notification settings - Fork 279
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
OffAxisSlicePlot does not appear to work with particle-based datasets #3518
Comments
Does OffAxisProjectionPlot support particle datasets ? |
Yes--I use it all the time. |
Ok then should we deal with #3489 before or after fixing this ? |
AFAIK we haven't supported this yet at all (probably an oversight in releasing 4.0) |
yeah so I'm hesitant to call this a "bug", rather a missing feature ? Though the fact that you hit a |
It appears that you're right @jzuhone as per the message sort of buried here in the narrative docs: https://yt-project.org/docs/dev/visualizing/plots.html#additional-notes-for-plotting-particle-data (thanks, @brittonsmith for the link). Given that, I think we should update the docstring for |
Unless anyone has time to implement it soon, how about we do the easy fix (docstring + NotImplementedError) now and keep this issue open within the 4.1 milestone so it is at least discussed (addressed ?) in time for the next feature release ? |
Yeah, that works for me. I am not sure how to go about implementing this to be honest, but I do think it's important that we address this at some point since we're actively courting particle-based simulation users with the release of yt4. |
Agreed. Can you make a PR with docs + the corrected error ? |
related to #2628 |
note that, while the example still fails, the error message was intentionally changed in #4038 |
Bug report
Bug summary
When I attempt to generate an OffAxisSlicePlot for any particle-based datasets, I get
unindexed type
errors. The same code snippet is in our documentation for working with grid-based datasets and it works fine for those.Code for reproduction
Actual outcome
Expected outcome
I expected it to produce an OffAxisSlicePlot.
Version Information
current tip of yt dev: 88b16fb
The text was updated successfully, but these errors were encountered: