Skip to content

Conversation

@RONAK-AI647
Copy link
Contributor

Description:
Enables PlotData to dynamically access any variable from output datasets, not just hardcoded attributes.
Previously, PlotData only supported predefined attributes (T_i, T_e, n_e, etc.). Users couldn't plot custom diagnostic variables from output files without modifying the class. This PR solves this issue.

Issue Solved #1358
Reference PR : #1874

@RONAK-AI647
Copy link
Contributor Author

@jcitrin , Take a look !!
I have made the updates, tried to make attributes dynamic and removed all hardcoded ones.

Copy link
Collaborator

@jcitrin jcitrin left a comment

Choose a reason for hiding this comment

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

Thanks! This looks good.

I have some very minor nits but we can take care of this in internal review. No further action needed from your side.

For future reference, you could have committed this to #1874 instead of opening a new PR, but no worries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

copybara:import-manual Set when ready for copybara manual import

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants