The creole plot macro translates the body of the macro into a code fragment, that is executed to create the picture.
Usage
<<mathplot title="Image Title" show_source=True>>
def set_figure(fig):
ax=fig.add_subplot(1,1,1)
# add some functions
<</mathplot>>
Examples
[Error: Macro 'mathplot' error: mathplot() got an unexpected keyword argument 'title']
The following example is copied from here.
[Error: Macro 'mathplot' error: mathplot() got an unexpected keyword argument 'title']
The following example is copied from here.
[Error: Macro 'mathplot' error: mathplot() got an unexpected keyword argument 'title']
The website http://matplotlib.sourceforge.net/api/axes_api.html#module-matplotlib.axes provides a whole collection of additional examples.
[Error: Macro 'mathplot' error: mathplot() got an unexpected keyword argument 'title']