@ -116,6 +116,12 @@ def plot_profiles(profile_name, csv_output_dir, graph_loc, ch_limits, delta_vol,
if Ylim<10:
ax.set_ylim([ax.get_ylim()[0], 10])
# Remove empty space at left of figure
try:
ax.set_xlim(left=profile.first_valid_index() - 10)
except TypeError:
pass
# Show most recent volume change
if delta_vol is not None:
ax.annotate('Most recent\nvolume change:\n{:+0.1f} m$^3$/m'.format(delta_vol),