Skip to content

Commit c1a5bbb

Browse files
committed
Change example title
1 parent 9d135a5 commit c1a5bbb

File tree

7 files changed

+11
-11
lines changed

7 files changed

+11
-11
lines changed

doc/api.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
===
2-
API
3-
===
1+
=============
2+
API reference
3+
=============
44

55

66
.. autosummary::

examples/08_tracking_manipulation/pet_track_anim_matplotlib_animation.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""
2-
Track animation
3-
===============
2+
Track animation with standard matplotlib
3+
========================================
44
55
Run in a terminal this script, which allow to watch eddy evolution
66

examples/10_tracking_diagnostics/pet_center_count.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
# Parameters
2121
t0, t1 = a.period
22-
step = 0.1
22+
step = 0.125
2323
bins = ((-10, 37, step), (30, 46, step))
2424
kwargs_pcolormesh = dict(
2525
cmap="terrain_r", vmin=0, vmax=2, factor=1 / (step ** 2 * (t1 - t0)), name="count"

examples/10_tracking_diagnostics/pet_pixel_used.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
py_eddy_tracker_sample.get_path("eddies_med_adt_allsat_dt2018/Cyclonic.zarr")
1818
)
1919
t0, t1 = a.period
20-
step = 0.1
20+
step = 0.125
2121
bins = ((-10, 37, step), (30, 46, step))
2222
kwargs_pcolormesh = dict(
2323
cmap="terrain_r", vmin=0, vmax=0.75, factor=1 / (t1 - t0), name="count"

notebooks/python_module/08_tracking_manipulation/pet_track_anim_matplotlib_animation.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"cell_type": "markdown",
1616
"metadata": {},
1717
"source": [
18-
"\n# Track animation\n\nRun in a terminal this script, which allow to watch eddy evolution\n"
18+
"\n# Track animation with standard matplotlib\n\nRun in a terminal this script, which allow to watch eddy evolution\n"
1919
]
2020
},
2121
{
@@ -62,7 +62,7 @@
6262
},
6363
"outputs": [],
6464
"source": [
65-
"a = Anim(eddy, intern=True, figsize=(8, 3.5), cmap=\"magma_r\", nb_step=6)\na.txt.set_position((17, 34.6))\na.ax.set_xlim(16.5, 23)\na.ax.set_ylim(34.5, 37)\n\n# arguments to get full animation\nkwargs = dict(frames=arange(*a.period), interval=50)\n# arguments to reduce compute cost for doucmentation, we display only every 10 days\nkwargs = dict(frames=arange(*a.period)[200:800:10], save_count=60, interval=200)\n\nani = FuncAnimation(a.fig, a.func_animation, **kwargs)"
65+
"a = Anim(eddy, intern=True, figsize=(8, 3.5), cmap=\"magma_r\", nb_step=6)\na.txt.set_position((17, 34.6))\na.ax.set_xlim(16.5, 23)\na.ax.set_ylim(34.5, 37)\n\n# arguments to get full animation\n# kwargs = dict(frames=arange(*a.period), interval=50)\n# arguments to reduce compute cost for doucmentation, we display only every 10 days\nkwargs = dict(frames=arange(*a.period)[200:800:10], save_count=60, interval=200)\n\nani = FuncAnimation(a.fig, a.func_animation, **kwargs)"
6666
]
6767
}
6868
],

notebooks/python_module/10_tracking_diagnostics/pet_center_count.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
},
4545
"outputs": [],
4646
"source": [
47-
"a = TrackEddiesObservations.load_file(\n py_eddy_tracker_sample.get_path(\"eddies_med_adt_allsat_dt2018/Anticyclonic.zarr\")\n)\nc = TrackEddiesObservations.load_file(\n py_eddy_tracker_sample.get_path(\"eddies_med_adt_allsat_dt2018/Cyclonic.zarr\")\n)\n\n# Parameters\nt0, t1 = a.period\nstep = 0.1\nbins = ((-10, 37, step), (30, 46, step))\nkwargs_pcolormesh = dict(\n cmap=\"terrain_r\", vmin=0, vmax=2, factor=1 / (step ** 2 * (t1 - t0)), name=\"count\"\n)"
47+
"a = TrackEddiesObservations.load_file(\n py_eddy_tracker_sample.get_path(\"eddies_med_adt_allsat_dt2018/Anticyclonic.zarr\")\n)\nc = TrackEddiesObservations.load_file(\n py_eddy_tracker_sample.get_path(\"eddies_med_adt_allsat_dt2018/Cyclonic.zarr\")\n)\n\n# Parameters\nt0, t1 = a.period\nstep = 0.125\nbins = ((-10, 37, step), (30, 46, step))\nkwargs_pcolormesh = dict(\n cmap=\"terrain_r\", vmin=0, vmax=2, factor=1 / (step ** 2 * (t1 - t0)), name=\"count\"\n)"
4848
]
4949
},
5050
{

notebooks/python_module/10_tracking_diagnostics/pet_pixel_used.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
},
4545
"outputs": [],
4646
"source": [
47-
"a = TrackEddiesObservations.load_file(\n py_eddy_tracker_sample.get_path(\"eddies_med_adt_allsat_dt2018/Anticyclonic.zarr\")\n)\nc = TrackEddiesObservations.load_file(\n py_eddy_tracker_sample.get_path(\"eddies_med_adt_allsat_dt2018/Cyclonic.zarr\")\n)\nt0, t1 = a.period\nstep = 0.1\nbins = ((-10, 37, step), (30, 46, step))\nkwargs_pcolormesh = dict(\n cmap=\"terrain_r\", vmin=0, vmax=0.75, factor=1 / (t1 - t0), name=\"count\"\n)"
47+
"a = TrackEddiesObservations.load_file(\n py_eddy_tracker_sample.get_path(\"eddies_med_adt_allsat_dt2018/Anticyclonic.zarr\")\n)\nc = TrackEddiesObservations.load_file(\n py_eddy_tracker_sample.get_path(\"eddies_med_adt_allsat_dt2018/Cyclonic.zarr\")\n)\nt0, t1 = a.period\nstep = 0.125\nbins = ((-10, 37, step), (30, 46, step))\nkwargs_pcolormesh = dict(\n cmap=\"terrain_r\", vmin=0, vmax=0.75, factor=1 / (t1 - t0), name=\"count\"\n)"
4848
]
4949
},
5050
{

0 commit comments

Comments
 (0)