Edit->Formulas->Jython Library
menu item.
The Jython Library window has a tree view on the left that shows the different
(categorized) library files available. The files that are listed under "Local Jython"
are those that you can edit. The System files cannot be edited.
On the right is the edit pane for the selected file.
There is documentation available for the System Jython Libraries.
When you save the file thought the external editor or the IDV editor the code is checked for valid Jython syntax; If there is an error, a pop-up window will appear with an error message. The actual error will also be printed in the console window running the IDV. Correct the error and try to save again.
File→New Jython Library...
menu. To remove the currently displayed
library file use the File→Remove Library
menu.
Make formula for ...
. This is a convenience that brings up
the Formula creation dialog with a call to that procedure.
Also, as another convenience you can right click to show the Insert Procedure Call
menu. This
lists all of the currently defined procedures in the other Jython libraries.