   """
   def axis_set(v, kwargs \\ []) do
     Codebuilder.build_code(funcname: "plt.axis", nonnamed: [v], named: kwargs) |> Server.Commapi.add_code
-  end
-
-  @doc """
-  Turn the axes grids on or off.
-
-  Set the axes grids on or off; b is a boolean. (For MATLAB compatibility, b may also be a string, ‘on’ or ‘off’.)
-
-  If b is None and len(kwargs)==0, toggle the grid state. If kwargs are supplied, it is assumed that you want a grid and b is thus set to True.
-
-  which can be ‘major’ (default), ‘minor’, or ‘both’ to control whether major tick grids, minor tick grids, or both are affected.
-
-  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
-    Codebuilder.build_code(funcname: "plt.grid", nonnamed: [], named: opts ++ kwargs) |> Server.Commapi.add_code
   end
 
   @doc """

  end

  @doc """
  Set a title of the current axes.

  Set one of hte three available axes titles. The available titles are positioned above the aces in the center, flush with the left edge, and flush

  end

  @doc """
  Adds a non-resampled image to the figure.
  """
  def figimage(opts \\ [], kwargs \\ []) do
    Codebuilder.build_code(funcname: "plt.figimage", nonnamed: [], named: opts ++ kwargs) |> Server.Commapi.add_code
  end

  @doc """
  Place a legend in the figure.
  """
  def figlegend(handles, labels, loc, kwargs \\ []) do
    Codebuilder.build_code(funcname: "plt.figlegend", nonnamed: [handles, labels, loc], named: kwargs) |> Server.Commapi.add_code
  end

  @doc """
  """
  def fignum_exists(num) do
    Codebuilder.build_code(funcname: "plt.fignum_exists", nonnamed: [num], named: []) |> Server.Commapi.add_code
  end

  @doc """
  Histogram function. See matplotlib docs for hist:
  http://matplotlib.org/api/pyplot_api.html
  """
