Skip to content

Commit 68badf5

Browse files
committed
Change time of start for gui
1 parent 9a03cbf commit 68badf5

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/py_eddy_tracker/gui.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,14 @@
22
from datetime import datetime
33
import matplotlib.pyplot as plt
44
from matplotlib.projections import register_projection
5-
from matplotlib.widgets import Slider
65
import py_eddy_tracker_sample as sample
76
from .generic import flatten_line_matrix, split_line
87
from .observations.tracking import TrackEddiesObservations
98

109

1110
try:
1211
from pylook.axes import PlatCarreAxes
13-
except:
12+
except ImportError:
1413
from matplotlib.axes import Axes
1514

1615
class PlatCarreAxes(Axes):
@@ -80,8 +79,7 @@ def set_initial_values(self):
8079
t0_, t1_ = dataset.period
8180
t0, t1 = min(t0, t0_), max(t1, t1_)
8281

83-
self.settings = dict(period=(t0, t1), now=20000,)
84-
# self.settings = dict(period=(t0, t1), now=t0,)
82+
self.settings = dict(period=(t0, t1), now=t1,)
8583

8684
@property
8785
def now(self):

0 commit comments

Comments
 (0)