prsctrl.data.plot.add_wl_axis#
- add_wl_axis(ax, label=True, draw_ticklabels=None)[source]#
Add a top axis that shows wavelength in nm. Primary axis must be energy in eV :param ax: Matplotlib axes :param label: True to use the PrsData label for ‘wl’, False for no label or str for custom label :param draw_xticklabels: True/False or None to draw them if a label is drawn