Please help me to understand the function of '%auto' (is there a reference for sage 'magics' ?). Is '%auto' a line magic or cell magic or something else?
The very same documentation that contains the example you reference also has an explanation right below it:
"""
A very sharp-eyed reader will also have noticed that the previous cell
had %auto at the very top, and that it was not necessary to evaluate
the cell to use it.
The command %auto allows us to have a cell, especially an interactive one, all loaded up as soon as we start - particularly convenient for a classroom situation.
Such instructions are called percent directives . Most are documented in the notebook help one can access at the top of any worksheet
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/CACLE5GDuzZt%2BLbOjCtNax2oXmPP7VDP9H4oTBZ4oECGo8%3DL_oQ%40mail.gmail.com.