Skip to content

Commit

Permalink
There were two old line, I removed them
Browse files Browse the repository at this point in the history
  • Loading branch information
ChiaraMonforte committed Nov 11, 2024
1 parent de84716 commit 3fcff37
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions glidertest/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -717,9 +717,6 @@ def plot_glider_track(ds: xr.Dataset, ax: plt.Axes = None, **kw: dict) -> tuple(
# Add colorbar with formatted time labels
cbar = plt.colorbar(sc, ax=ax) #, label='Time')
cbar.ax.set_yticklabels([pd.to_datetime(t).strftime('%Y-%b-%d') for t in cbar.get_ticks()])

#cbar.ax.set_yticks(cbar.get_ticks().tolist())
#cbar.ax.set_yticklabels([pd.to_datetime(t).strftime('%Y-%b-%d') for t in cbar.get_ticks()])

ax.set_extent([np.min(longitudes)-1, np.max(longitudes)+1, np.min(latitudes)-1, np.max(latitudes)+1], crs=ccrs.PlateCarree())

Expand Down

0 comments on commit 3fcff37

Please sign in to comment.