radis.tools.plot_tools module

Created on Fri Jun 18 20:18:34 2021

@author: erwan

Add a RulerTool to measure spectra

Examples

::

from radis.tools.plot_tools import add_ruler fig = plt.figure() add_ruler(fig)

https://user-images.githubusercontent.com/16088743/122615292-95a9e080-d088-11eb-9927-bf1187d5a94a.png
class ParamRange(valmin=0, valmax=1, valinit=None)[source]

Bases: object

set_widget(w, spec, func=<function ParamRange.<lambda>>)[source]
widget_callback(val)[source]
add_ruler(fig, wunit='', Iunit='', ax=None)[source]