Skip to content

Commit

Permalink
Merge pull request #1215 from VeckoTheGecko/vecko/show-time
Browse files Browse the repository at this point in the history
Clarification on the `show_time` parameter
  • Loading branch information
erikvansebille committed Aug 15, 2022
2 parents 3260033 + 232fc2a commit a971e9a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion parcels/field.py
Expand Up @@ -1244,7 +1244,7 @@ def show(self, animation=False, show_time=None, domain=None, depth_level=0, proj
"""Method to 'show' a Parcels Field
:param animation: Boolean whether result is a single plot, or an animation
:param show_time: Time at which to show the Field (only in single-plot mode)
:param show_time: Time in seconds from start after which to show the Field (only in single-plot mode)
:param domain: dictionary (with keys 'N', 'S', 'E', 'W') defining domain to show
:param depth_level: depth level to be plotted (default 0)
:param projection: type of cartopy projection to use (default PlateCarree)
Expand Down
4 changes: 2 additions & 2 deletions parcels/plotting.py
Expand Up @@ -17,7 +17,7 @@ def plotparticles(particles, with_particles=True, show_time=None, field=None, do
animation=False, **kwargs):
"""Function to plot a Parcels ParticleSet
:param show_time: Time at which to show the ParticleSet
:param show_time: Time in seconds from start after which to show the ParticleSet
:param with_particles: Boolean whether particles are also plotted on Field
:param field: Field to plot under particles (either None, a Field object, or 'vector')
:param domain: dictionary (with keys 'N', 'S', 'E', 'W') defining domain to show
Expand Down Expand Up @@ -104,7 +104,7 @@ def plotfield(field, show_time=None, domain=None, depth_level=0, projection='Pla
vmin=None, vmax=None, savefile=None, **kwargs):
"""Function to plot a Parcels Field
:param show_time: Time at which to show the Field
:param show_time: Time in seconds from start after which to show the Field
:param domain: dictionary (with keys 'N', 'S', 'E', 'W') defining domain to show
:param depth_level: depth level to be plotted (default 0)
:param projection: type of cartopy projection to use (default PlateCarree)
Expand Down

0 comments on commit a971e9a

Please sign in to comment.