   with the right edge.
   """
   def title(s, kwargs \\ []) do
-    code = Codebuilder.build_code(funcname: "plt.title", nonnamed: [s], named: kwargs)
-    Server.Commapi.add_code code
+    Codebuilder.build_code(funcname: "plt.title", nonnamed: [s], named: kwargs) |> Server.Commapi.add_code
   end
 
   @doc """
   Set the x axis label of the current axis.
   """
   def xlabel(s, kwargs \\ []) do
-    code = Codebuilder.build_code(funcname: "plt.xlabel", nonnamed: [s], named: kwargs)
-    Server.Commapi.add_code code
+    Codebuilder.build_code(funcname: "plt.xlabel", nonnamed: [s], named: kwargs) |> Server.Commapi.add_code
   end
 
   @doc """
   Set the y axis label of the current axis.
   """
   def ylabel(s, kwargs \\ []) do
-    code = Codebuilder.build_code(funcname: "plt.ylabel", nonnamed: [s], named: kwargs)
-    Server.Commapi.add_code code
+    Codebuilder.build_code(funcname: "plt.ylabel", nonnamed: [s], named: kwargs) |> Server.Commapi.add_code
   end
 
   def show do
-    code = Codebuilder.build_code(funcname: "plt.show", nonnamed: [], named: [])
-    Server.Commapi.add_code code
+    Codebuilder.build_code(funcname: "plt.show", nonnamed: [], named: []) |> Server.Commapi.add_code
   end
 end

  axis can be ‘both’ (default), ‘x’, or ‘y’ to control which set of gridlines are drawn.
  """
  def grid(opts \\ [b: nil, which: :major, axis: :both], kwargs \\ []) do
    code = Codebuilder.build_code(funcname: "plt.grid", nonnamed: [], named: opts ++ kwargs)
    Server.Commapi.add_code code
  end

  @doc """
  Add a vertical line across the axes.
  """
  def axvline(opts \\ [x: 0, ymin: 0, ymax: 1, hold: nil], kwargs \\ []) do
    code = Codebuilder.build_code(funcname: "plt.axvline", nonnamed: [], named: opts ++ kwargs)
    Server.Commapi.add_code code
  end

  @doc """

  coords: 0=bottom, 0.5=middle, 1.0=top but the y location is in data coordinates.
  """
  def axvspan(xmin, xmax, opts \\ [ymin: 0, ymax: 1, hold: nil], kwargs \\ []) do
    Codebuilder.build_code(funcname: "plt.axvspan", nonnamed: [xmin, xmax], named: opts ++ kwargs) |> Server.Commapi.add_code
  end

  @doc """
