<s> def setup ( ) : <EOL> from glue . config import tool_registry <EOL> from glue . viewers . image . qt import ImageWidget <EOL> from glue . plugins . tools . spectrum_tool . qt import SpectrumTool <EOL> tool_registry . add ( SpectrumTool , widget_cls = ImageWidget ) </s>
