def lines_scatter_args(self, line_kwargs=None, scatter_kwargs=None, pos=None):
if pos is not None:<EOL><INDENT>self.set_pos(pos)<EOL><DEDENT>elif self.pos is None:<EOL><INDENT>self.set_pos()<EOL><DEDENT>edge_pos = [<NUM_LIT:0> for e in self.edges()]<EOL>for e in self.edges():<EOL><INDENT>ei = self.edge_index[e]<EOL>edge_pos[ei] = (self.pos[e[<NUM_LIT:0>]], self.pos[e[<NUM_LIT:1>]])<EOL><DEDENT>line_collecton_kwargs = {<EOL>'<STR_LIT>': edge_pos,<EOL>'<STR_LIT>': self.edge_color,<EOL>'<STR_LIT>': (<NUM_LIT:1>,),<EOL>'<STR_LIT>': (<NUM_LIT:1>,),<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': None,<EOL>'<STR_LIT>': plt.cm.ocean_r,<EOL>'<STR_LIT>': <NUM_LIT:5>,<EOL>'<STR_LIT>': <NUM_LIT:0>,<EOL>'<STR_LIT>': None,<EOL>'<STR_LIT>': None,<EOL>'<STR_LIT>': None,<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': None,<EOL>}<EOL>scatter_kwargs_ = {<EOL>'<STR_LIT:x>': self.pos[:, <NUM_LIT:0>],<EOL>'<STR_LIT:y>': self.pos[:, <NUM_LIT:1>],<EOL>'<STR_LIT:s>': <NUM_LIT:50>,<EOL>'<STR_LIT:c>': self.vertex_fill_color,<EOL>'<STR_LIT>': None,<EOL>'<STR_LIT>': None,<EOL>'<STR_LIT>': None,<EOL>'<STR_LIT>': None,<EOL>'<STR_LIT>': '<STR_LIT:o>',<EOL>'<STR_LIT>': <NUM_LIT:2>,<EOL>'<STR_LIT>': plt.cm.ocean_r,<EOL>'<STR_LIT>': <NUM_LIT:1>,<EOL>'<STR_LIT>': self.vertex_color,<EOL>'<STR_LIT>': None,<EOL>'<STR_LIT>': None,<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': None,<EOL>}<EOL>line_kwargs = {} if line_kwargs is None else line_kwargs<EOL>scatter_kwargs = {} if scatter_kwargs is None else scatter_kwargs<EOL>for key, value in line_kwargs.items():<EOL><INDENT>if key in line_collecton_kwargs:<EOL><INDENT>line_collecton_kwargs[key] = value<EOL><DEDENT><DEDENT>for key, value in scatter_kwargs.items():<EOL><INDENT>if key in scatter_kwargs_:<EOL><INDENT>scatter_kwargs_[key] = value<EOL><DEDENT><DEDENT>return line_collecton_kwargs, scatter_kwargs_<EOL>
Returns the arguments used when plotting.

        Takes any keyword arguments for
        :class:`~matplotlib.collections.LineCollection` and
        :meth:`~matplotlib.axes.Axes.scatter` and returns two
        dictionaries with all the defaults set.

        Parameters
        ----------
        line_kwargs : dict (optional, default: ``None``)
            Any keyword arguments accepted by
            :class:`~matplotlib.collections.LineCollection`.
        scatter_kwargs : dict (optional, default: ``None``)
            Any keyword arguments accepted by
            :meth:`~matplotlib.axes.Axes.scatter`.

        Returns
        -------
        tuple
            A 2-tuple of dicts. The first entry is the keyword
            arguments for
            :class:`~matplotlib.collections.LineCollection` and the
            second is the keyword args for
            :meth:`~matplotlib.axes.Axes.scatter`.

        Notes
        -----
        If a specific keyword argument is not passed then the defaults
        are used.