Skip to content

Commit 0d7f881

Browse files
committed
remove coast plot
1 parent ec1562a commit 0d7f881

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

examples/tracking_diagnostics/pet_center_count.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,14 @@
77
from matplotlib import pyplot as plt
88
from py_eddy_tracker.observations.tracking import TrackEddiesObservations
99
import py_eddy_tracker_sample
10-
import pylook
1110

1211

1312
a = TrackEddiesObservations.load_file(py_eddy_tracker_sample.get_path("eddies_med_adt_allsat_dt2018/Anticyclonic.zarr"))
1413
c = TrackEddiesObservations.load_file(py_eddy_tracker_sample.get_path("eddies_med_adt_allsat_dt2018/Cyclonic.zarr"))
1514
a = a.merge(c)
1615
# Plot
1716
fig = plt.figure(figsize=(20, 8))
18-
ax = fig.add_subplot(111, projection='plat_carre')
17+
ax = fig.add_subplot(111)
1918
ax.set_xlim(-5, 37)
2019
ax.set_ylim(30, 46)
2120
step = .1

examples/tracking_diagnostics/pet_pixel_used.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,18 @@
77
from matplotlib import pyplot as plt
88
from py_eddy_tracker.observations.tracking import TrackEddiesObservations
99
import py_eddy_tracker_sample
10-
import pylook
1110

1211

1312
a = TrackEddiesObservations.load_file(py_eddy_tracker_sample.get_path("eddies_med_adt_allsat_dt2018/Anticyclonic.zarr"))
1413
c = TrackEddiesObservations.load_file(py_eddy_tracker_sample.get_path("eddies_med_adt_allsat_dt2018/Cyclonic.zarr"))
1514

1615
# Plot
1716
fig = plt.figure(figsize=(15, 20))
18-
ax_a = fig.add_subplot(311, projection='plat_carre')
17+
ax_a = fig.add_subplot(311)
1918
ax_a.set_title('Anticyclonic frequency')
20-
ax_c = fig.add_subplot(312, projection='plat_carre')
19+
ax_c = fig.add_subplot(312)
2120
ax_c.set_title('Cyclonic frequency')
22-
ax_all = fig.add_subplot(313, projection='plat_carre')
21+
ax_all = fig.add_subplot(313)
2322
ax_all.set_title('All eddies frequency')
2423

2524
step = 0.1

0 commit comments

Comments
 (0)