Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
kvos committed Jun 2, 2020
1 parent adbc0f8 commit f7bb54c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
# CoastSat.slope
Beach-face slope estimation from satellite-derived shorelines, extension to the CoastSat toolbox.

See the two Jupyter Notebooks in the repository, README file is work in progress.
2 changes: 1 addition & 1 deletion SDS_slope.py
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ def plot_cross_distance(dates, cross_distance):
fig.set_tight_layout(True)
ax.grid(linestyle=':', color='0.5')
ax.plot(dates_temp, chain - np.mean(chain), '-o', ms=3, mfc='w', mec='C0')
ax.set(title='Transect ' + key, ylabel='distance [m]', ylim=get_min_max_dict(cross_distance))
ax.set(title='Transect %s - %d points'%(key,len(chain)), ylabel='distance [m]', ylim=get_min_max_dict(cross_distance))

def get_min_max_dict(cross_distance):
'get min and max of a dictionary of time-series'
Expand Down

0 comments on commit f7bb54c

Please sign in to comment.