Skip to content

Commit

Permalink
Fixed assertion for xlabel
Browse files Browse the repository at this point in the history
  • Loading branch information
eleanorfrajka committed Nov 20, 2024
1 parent 61948a4 commit 6489a6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_plots.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def test_plots(start_prof=0, end_prof=100):
ds = ds.drop_vars(['DENSITY'])
fig, ax = plots.plot_basic_vars(ds,start_prof=start_prof, end_prof=end_prof)
assert ax[0].get_ylabel() == 'Depth (m)'
assert ax[0].get_xlabel() == f'Average Temperature [C] \nbetween profile {start_prof} and {end_prof}'
assert ax[0].get_xlabel() == f'Temperature [C]'


def test_up_down_bias(v_res=1, xlabel='Salinity'):
Expand Down

0 comments on commit 6489a6c

Please sign in to comment.