Skip to content

Commit fbf87bc

Browse files
committed
update typo
1 parent 86f2e09 commit fbf87bc

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

examples/02_eddy_identification/pet_display_id.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@
2727
colorbar = plt.colorbar(m, cax=ax.figure.add_axes([0.95, 0.05, 0.01, 0.9]))
2828
colorbar.set_label('Amplitude (m)')
2929

30-
plt.show()
31-
3230
# %%
3331
# draw contour
3432
fig = plt.figure(figsize=(15, 8))

notebooks/python_module/02_eddy_identification/pet_display_id.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
},
6363
"outputs": [],
6464
"source": [
65-
"fig = plt.figure(figsize=(15, 8))\nax = fig.add_axes([0.03, 0.03, 0.90, 0.94])\nax.set_aspect(\"equal\")\nax.set_xlim(0, 140)\nax.set_ylim(-80, 0)\nkwargs = dict(extern_only=True, color=\"k\", lw=1)\na.display(ax, **kwargs), c.display(ax, **kwargs)\na.filled(ax, \"amplitude\", cmap=\"magma_r\", vmin=0, vmax=.5)\nm = c.filled(ax, \"amplitude\", cmap=\"magma_r\", vmin=0, vmax=.5)\ncolorbar = plt.colorbar(m, cax=ax.figure.add_axes([0.95, 0.05, 0.01, 0.9]))\ncolorbar.set_label('Amplitude (m)')\n\nplt.show()"
65+
"fig = plt.figure(figsize=(15, 8))\nax = fig.add_axes([0.03, 0.03, 0.90, 0.94])\nax.set_aspect(\"equal\")\nax.set_xlim(0, 140)\nax.set_ylim(-80, 0)\nkwargs = dict(extern_only=True, color=\"k\", lw=1)\na.display(ax, **kwargs), c.display(ax, **kwargs)\na.filled(ax, \"amplitude\", cmap=\"magma_r\", vmin=0, vmax=.5)\nm = c.filled(ax, \"amplitude\", cmap=\"magma_r\", vmin=0, vmax=.5)\ncolorbar = plt.colorbar(m, cax=ax.figure.add_axes([0.95, 0.05, 0.01, 0.9]))\ncolorbar.set_label('Amplitude (m)')"
6666
]
6767
},
6868
{

src/py_eddy_tracker/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -355,8 +355,8 @@ def parse_args(self, *args, **kwargs):
355355
nc_attr=dict(
356356
long_name="Speed Radius",
357357
units="m",
358-
comment="Radius of a circle whose area is equal to that \
359-
enclosed by the contour of maximum circum-average speed",
358+
comment="Radius of a circle whose area is equal to that "
359+
"enclosed by the contour of maximum circum-average speed",
360360
),
361361
),
362362
track=dict(

src/py_eddy_tracker/featured_tracking/old_tracker_reference.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ def post_process_link(self, other, i_self, i_other):
8383
def check_ratio(current_mask, self_amplitude, other_amplitude, self_radius, other_radius):
8484
"""
8585
Only very few case are remove with selection
86+
8687
:param current_mask:
8788
:param self_amplitude:
8889
:param other_amplitude:

0 commit comments

Comments
 (0)