Skip to content

Commit edc832b

Browse files
committed
Minor correction
1 parent 23a5cca commit edc832b

File tree

2 files changed

+6
-10
lines changed

2 files changed

+6
-10
lines changed

examples/02_eddy_identification/pet_eddy_detection.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -91,12 +91,12 @@ def update_axes(ax, mappable=None):
9191
update_axes(ax)
9292

9393
# %%
94-
# Criteria for rejecting a contour
95-
# 0. - Accepted (green)
96-
# 1. - Rejection for shape error (red)
97-
# 2. - Masked value within contour (blue)
98-
# 3. - Under or over the pixel limit bounds (black)
99-
# 4. - Amplitude criterion (yellow)
94+
# Criteria for rejecting a contour:
95+
# 0. - Accepted (green)
96+
# 1. - Rejection for shape error (red)
97+
# 2. - Masked value within contour (blue)
98+
# 3. - Under or over the pixel limit bounds (black)
99+
# 4. - Amplitude criterion (yellow)
100100
ax = start_axes("Contours' rejection criteria")
101101
g.contours.display(ax, only_unused=True, lw=0.5, display_criterion=True)
102102
update_axes(ax)

examples/16_network/pet_relative.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,8 @@
44
"""
55

66
from matplotlib import pyplot as plt
7-
from matplotlib.animation import FuncAnimation
8-
from numpy import arange
97

10-
import py_eddy_tracker.gui
118
from py_eddy_tracker import data
12-
from py_eddy_tracker.appli.gui import Anim
139
from py_eddy_tracker.observations.network import NetworkObservations
1410
from py_eddy_tracker.observations.tracking import TrackEddiesObservations
1511

0 commit comments

Comments
 (0)