def initializeLarchPlugin(_larch=None):
    cmds = ['plot', 'oplot', 'newplot', 'imshow', 'contour']
    if _larch is not None:
        _larch.symtable._sys.valid_commands.extend(cmds)
        mod = getattr(_larch.symtable, MODNAME)
        mod.__doc__ = MODDOC
initialize plotter
dataset/ETHPy150Open xraypy/xraylarch/plugins/wx/plotter.py/initializeLarchPlugin