Skip to content

Commit 87a8643

Browse files
Merge pull request #40 from BigThinkcode/formatting
Formatting
2 parents 59eb57f + e068495 commit 87a8643

53 files changed

Lines changed: 109 additions & 98 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

lib/matplotex/blueprint.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
defmodule Matplotex.Blueprint do
2-
@moduledoc false
2+
@moduledoc false
33
@callback new(graph :: module(), params :: map()) :: any()
44
@callback set_content(graphset :: any()) :: any()
55
@callback add_elements(graphset :: any()) :: any()

lib/matplotex/blueprint/chord.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
defmodule Matplotex.Blueprint.Chord do
2-
@moduledoc false
2+
@moduledoc false
33
@true_by_default false
44
@false_by_default true
55
defmacro chord(opts \\ []) do

lib/matplotex/blueprint/frame.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
defmodule Matplotex.Blueprint.Frame do
2-
@moduledoc false
2+
@moduledoc false
33
alias Matplotex.Figure.Legend
44
@default_margin 0.05
55
@show_by_default true

lib/matplotex/element.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
defmodule Matplotex.Element do
2-
@moduledoc false
2+
@moduledoc false
33
@callback assemble(element :: struct()) :: String.t()
44
def assemble(%module{} = element), do: module.assemble(element)
55

lib/matplotex/element/circle.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
defmodule Matplotex.Element.Circle do
2-
@moduledoc false
2+
@moduledoc false
33
alias Matplotex.Element
44
use Element
55

lib/matplotex/element/label.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
defmodule Matplotex.Element.Label do
2-
@moduledoc false
2+
@moduledoc false
33
alias Matplotex.Element
44
use Element
55
@default_fill "black"

lib/matplotex/element/legend.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
defmodule Matplotex.Element.Legend do
2-
@moduledoc false
2+
@moduledoc false
33
alias Matplotex.Element.Label
44
alias Matplotex.Element
55

lib/matplotex/element/line.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
defmodule Matplotex.Element.Line do
2-
@moduledoc false
2+
@moduledoc false
33
alias Matplotex.Element
44
use Element
55

lib/matplotex/element/polygon.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
defmodule Matplotex.Element.Polygon do
2-
@moduledoc false
2+
@moduledoc false
33
alias Matplotex.Element
44
use Element
55
@default_fill "blue"

lib/matplotex/element/rad_legend.ex

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
defmodule Matplotex.Element.RadLegend do
2-
@moduledoc false
2+
@moduledoc false
33
alias Matplotex.Utils.Algebra
44
alias Matplotex.Element.Label
55
alias Matplotex.Element
@@ -13,7 +13,7 @@ defmodule Matplotex.Element.RadLegend do
1313
@label_type "legend.label"
1414
@default_opacity 1.0
1515

16-
@legend_padding 5/96
16+
@legend_padding 5 / 96
1717
defstruct [
1818
:type,
1919
:x,
@@ -47,7 +47,8 @@ defmodule Matplotex.Element.RadLegend do
4747
} = legend,
4848
legend_font
4949
) do
50-
{label_x, label_y} = Algebra.transform_given_point(x, y, width + @legend_padding, height/2)
50+
{label_x, label_y} = Algebra.transform_given_point(x, y, width + @legend_padding, height / 2)
51+
5152
%{
5253
legend
5354
| label:

0 commit comments

Comments
 (0)