Skip to content

Commit

Permalink
Bless the tests because I am super sloppy
Browse files Browse the repository at this point in the history
  • Loading branch information
ChiaraMonforte committed Jul 12, 2024
1 parent db6671c commit 9b0b01b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion glidertest/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ def plot_section_with_srss(ax, ds, sel_var='TEMP',start_time = '2023-09-06', end

def check_temporal_drift(ax1, ax2, ds, var='DOXY'):
ax1.scatter(mdates.date2num(ds.TIME),ds[var], s=10)
ax1.xaxis.set_major_formatter(dates.DateFormatter('%Y-%m-%d'))
ax1.xaxis.set_major_formatter(DateFormatter('%Y-%m-%d'))
ax1.set(ylim=(np.nanpercentile(ds[var], 0.01), np.nanpercentile(ds[var], 99.99)), ylabel=var)

c=ax2.scatter(ds[var],ds.DEPTH,c=mdates.date2num(ds.TIME), s=10)
Expand Down

0 comments on commit 9b0b01b

Please sign in to comment.