autofig.axes.Axes.draw (function)
def draw(self, ax=None, i=None, calls=None, draw_sidebars=True, draw_title=True, show=False, save=False, in_animation=False)
Draw the contents of the autofig.axes.Axes to a matplotlib axes object.
See also:
Arguments
ax
(matplotlib axes or None, optional, default=None): matplotlib axes instances to use during drawing.i
(float or None, optional, default=None): passed on to autofig.call.Call.draw for all autofig.call.Calls in autofig.axes.Axes.calls.calls
(list of autofig.call.Call objects or None, optional, default=None): autofig.call.Calls to draw. If not provided or None, will draw autofig.axes.Axes.calls_sorted.draw_sidebars
(bool, optional, default=True): whether to draw any applicable sidebars.draw_title
(bool, optional, default=True): whether to draw the title on the matplotlib axes.show
(bool, optional, default=False): whether to immediately draw and show the resulting matplotlib figure.save
(False or string, optional, default=False): the filename to save the resulting matplotlib figure, or False to not save.in_animation
(bool, optional, default=False): whether the current call todraw
is a single frame in an animation. Usually this should not be changed by the user. See autofig.figure.Figure.animate for creating animations.
Returns
- matplotlib Axes: the matplotlib axes object.