[IPython-dev] magics and metadata

Thomas Kluyver takowl at gmail.com
Tue Jun 19 05:48:08 EDT 2012


On 19 June 2012 09:18, Jonathan Taylor <jonathan.taylor at stanford.edu> wrote:
> With the addition of cell-level metadata in cells in ipython/master it would
> be nice to be able to easily add metadata to cells, say, through a cell
> magic?

I agree that there are reasons why the user might want to alter the
metadata, but I don't think cell magics are the way to do it. Cell
magics are run in the kernel, which doesn't know about the frontend.
And you can use cell magics in the qt console or the terminal, so
their API can't be notebook specific.

Thomas



More information about the IPython-dev mailing list