UserSpace.reload#

UserSpace.reload()[source]#

Reload the source module and update the formulas.

If the space was created from a module, reload the module and update the formulas of its cells.

If a cell in the space is not created from a function definition in the source module of the space, it is not updated.

If the formula of a cell in the space was created from a function definition in the source module of the space and the definition is missing from the updated module, the formula is cleared and values calculated directly or indirectly depending the cells are cleared.

If the formula of a cell in the space has not been changed before and after reloading the source module, the values held in the cell and relevant cells are retained.

Returns:

This method returns the space itself.