def plot(self, joints, ax, target=None, show=False):
from . import plot_utils<EOL>if ax is None:<EOL><INDENT>ax = plot_utils.init_3d_figure()<EOL><DEDENT>plot_utils.plot_chain(self, joints, ax)<EOL>plot_utils.plot_basis(ax, self._length)<EOL>if target is not None:<EOL><INDENT>plot_utils.plot_target(target, ax)<EOL><DEDENT>if show:<EOL><INDENT>plot_utils.show_figure()<EOL><DEDENT>
Plots the Chain using Matplotlib

        Parameters
        ----------
        joints: list
            The list of the positions of each joint
        ax: matplotlib.axes.Axes
            A matplotlib axes
        target: numpy.array
            An optional target
        show: bool
            Display the axe. Defaults to False