Skip to content

Commit 64efe1b

Browse files
committed
Add some mini gallery
1 parent c6aa409 commit 64efe1b

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/py_eddy_tracker/observations/observation.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -553,6 +553,8 @@ def iter_on(self, xname, bins=None):
553553
:param str,array xname:
554554
:param array bins: bounds of each bin ,
555555
:return: index or mask, bound low, bound up
556+
557+
.. minigallery:: py_eddy_tracker.EddiesObservations.iter_on
556558
"""
557559
x = self[xname] if isinstance(xname, str) else xname
558560
d = x[1:] - x[:-1]
@@ -593,6 +595,8 @@ def iter_on(self, xname, bins=None):
593595
def align_on(self, other, var_name="time", **kwargs):
594596
"""
595597
Align the time indexes of two datasets.
598+
599+
.. minigallery:: py_eddy_tracker.EddiesObservations.align_on
596600
"""
597601
iter_self = self.iter_on(var_name, **kwargs)
598602
iter_other = other.iter_on(var_name, **kwargs)

src/py_eddy_tracker/poly.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,6 @@ def fit_ellips(x, y):
536536
https://en.wikipedia.org/wiki/Ellipse
537537
538538
"""
539-
# x,y = x[1:],y[1:]
540539
nb = x.shape[0]
541540
datas = ones((nb, 5), dtype=x.dtype)
542541
datas[:, 0] = x ** 2

0 commit comments

Comments
 (0)