Added bokeh magic to embed Bokeh into the IPython notebook.
Rename extension.
Added missed parameter.
Fixed bug because of share names between bokeh library and extension.
Calling output_notebook function directly from the extension instead of passing a cell containing the call.
Added show function to register_post_execute to be called after the execution of each cell.
Handled detection of missing plots in cells to avoid traceback whe show is called.
Added logic to register the show function and delete show function from post_execute dict. Added the parsing of arg to enable/disable these options.
Used UsageError instead of print. Passed the IndexError exception without notice.
Added --notebook option and load of output_notebook function only once.
Some refactoring and better docstrings.
Added hold mode to be applied to each cell using pre_run_code_hook.
Fixed help sentences for hold arguments.
Added arguments for the figure function.
Added logic to run the figure function as a post-execute hook.
Added a function to sort the _post_execute IPython dictionary to call the figure function alfter the show one.
Fixed --figure deactivation bug and added some docstrings.
One line messages
Added a new way to arrange the dict to execute the function in the correct order.
Got rid of the pre hook also for the hold function. All working with post_execute functions.