Skip to content

Commit ff326d4

Browse files
author
Mohammed Sadique
committed
patch
1 parent 92bf411 commit ff326d4

1 file changed

Lines changed: 0 additions & 27 deletions

File tree

lib/matplotex.ex

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -212,12 +212,6 @@ defmodule Matplotex do
212212
|> BarChart.create({pos, values, width}, opts)
213213
end
214214

215-
@doc """
216-
Creates a scatter plot based on the given data
217-
"""
218-
def scatter(stream, opts) when is_struct(stream, Stream) do
219-
Scatter.create(stream, opts)
220-
end
221215

222216
@doc """
223217
Creates a scatter plot based on the given `x` and `y` values, with optional customization provided via `opts`.
@@ -678,28 +672,7 @@ defmodule Matplotex do
678672
679673
"""
680674

681-
# @spec legend(Figure.t(), keyword() | map()) :: Figure.t()
682-
# def legend(figure, opts) when is_map(opts) do
683-
# Figure.add_legend(figure, opts)
684-
# end
685-
686-
# def legend(figure, [h | _t] = opts) when is_tuple(h) do
687-
# params = Enum.into(opts, %{})
688-
# Figure.add_legend(figure, params)
689-
# end
690-
691-
# def legend(figure, labels) when is_list(labels) do
692-
# Figure.add_legend(figure, %{labels: labels})
693-
# end
694675

695-
@doc """
696-
Function to update figure params
697-
## Examples
698-
699-
iex> Matplotex.figure(figure, figsize: {10,6}, margin: 0.1)
700-
%Matplotex.Figure{}
701-
"""
702-
@deprecated
703676
def figure(figure, params) do
704677
Figure.update_figure(figure, params)
705678
end

0 commit comments

Comments
 (0)