devctrl.data.time.plot.add_hour_axis#

add_hour_axis(ax, label='$t\\,$[h]', draw_ticklabels=None)[source]#

Add a top axis that shows time in hours. Primary axis must be wavelength in s :param ax: Matplotlib axes :param label: ‘hour’, False for no label or str for custom label :param draw_xticklabels: True/False or None to draw them if a label is drawn