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

FRQ: frame.plot() shortcut to plot.particles/field() #82

Open
kay-ro opened this issue Oct 28, 2024 · 0 comments
Open

FRQ: frame.plot() shortcut to plot.particles/field() #82

kay-ro opened this issue Oct 28, 2024 · 0 comments
Labels
module: base module: plot new feature New feature status: to do Issues that someone needs to work on

Comments

@kay-ro
Copy link
Member

kay-ro commented Oct 28, 2024

Proposed new feature or change:

Instead of supplying coordinates and the box_boundary to the amep.plot.particles() or amep.plot.field() function, it would be very useful to have a direct shortcut to plot a single frame.
Similar to trajectory.animate(), all the data should be supplied directly to amep.plot.particles/field() instead of having to get the coordinates and others first.

Instead of calling

amep.plot.particles(traj[-1].coords(), traj[-1].box,.... **optional_kwargs_for_plot_details)

it should simply be

traj[-1].plot(**optional_kwargs_for_plot_details)
@kay-ro kay-ro added new feature New feature status: to do Issues that someone needs to work on module: base module: plot labels Oct 28, 2024
@kay-ro kay-ro changed the title FRQ: frame.plot() shortcut to plot.particles() FRQ: frame.plot() shortcut to plot.particles/field() Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module: base module: plot new feature New feature status: to do Issues that someone needs to work on
Projects
None yet
Development

No branches or pull requests

1 participant