original_docstring: 
          %gnuplot CODE - evaluate code as gnuplot
  
          This line magic will evaluate the CODE to setup or
          unset inline plots. This magic should be used instead
          of the plot magic
  
          Examples:
              %gnuplot inline pngcairo enhanced transparent size 560,420
              %gnuplot inline svg enhanced size 560,420 fixed
              %gnuplot inline jpeg enhanced nointerlace
              %gnuplot qt
  
          
docstring: %gnuplot CODE - evaluate code as gnuplot
  This line magic will evaluate the CODE to setup or
  unset inline plots. This magic should be used instead
  of the plot magic
docstring_tokens: %gnuplot CODE - evaluate code as gnuplot This line magic will evaluate the CODE to setup or unset inline plots . This magic should be used instead of the plot magic
code: def line_gnuplot(self, *args):
          """
          %gnuplot CODE - evaluate code as gnuplot
  
          This line magic will evaluate the CODE to setup or
          unset inline plots. This magic should be used instead
          of the plot magic
  
          Examples:
              %gnuplot inline pngcairo enhanced transparent size 560,420
              %gnuplot inline svg enhanced size 560,420 fixed
              %gnuplot inline jpeg enhanced nointerlace
              %gnuplot qt
  
          """
          backend, terminal, termspec = _parse_args(args)
          terminal = terminal or 'pngcairo'
          inline_terminals = {'pngcairo': 'png',
                              'png': 'png',
                              'jpeg': 'jpg',
                              'svg': 'svg'}
          format = inline_terminals.get(terminal, 'png')
  
          if backend == 'inline':
              if terminal not in inline_terminals:
                  msg = ("For inline plots, the terminal must be "
                         "one of pngcairo, jpeg, svg or png")
                  raise ValueError(msg)
  
          self.kernel.plot_settings['backend'] = backend
          self.kernel.plot_settings['termspec'] = termspec
          self.kernel.plot_settings['format'] = format
          self.kernel.handle_plot_settings()
code_tokens: def line_gnuplot ( self , * args ) : backend , terminal , termspec = _parse_args ( args ) terminal = terminal or 'pngcairo' inline_terminals = { 'pngcairo' : 'png' , 'png' : 'png' , 'jpeg' : 'jpg' , 'svg' : 'svg' } format = inline_terminals . get ( terminal , 'png' ) if backend == 'inline' : if terminal not in inline_terminals : msg = ( "For inline plots, the terminal must be " "one of pngcairo, jpeg, svg or png" ) raise ValueError ( msg ) self . kernel . plot_settings [ 'backend' ] = backend self . kernel . plot_settings [ 'termspec' ] = termspec self . kernel . plot_settings [ 'format' ] = format self . kernel . handle_plot_settings ( )
short_docstring: %gnuplot CODE - evaluate code as gnuplot
  This line magic will evaluate the CODE to setup or
  unset inline plots.
short_docstring_tokens: %gnuplot CODE - evaluate code as gnuplot This line magic will evaluate the CODE to setup or unset inline plots .
comment: """
          %gnuplot CODE - evaluate code as gnuplot
  
          This line magic will evaluate the CODE to setup or
          unset inline plots. This magic should be used instead
          of the plot magic
  
          Examples:
              %gnuplot inline pngcairo enhanced transparent size 560,420
              %gnuplot inline svg enhanced size 560,420 fixed
              %gnuplot inline jpeg enhanced nointerlace
              %gnuplot qt
  
          """