Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions lib/matplotex/figure/areal/bar_chart.ex
Original file line number Diff line number Diff line change
@@ -1,20 +1,25 @@
defmodule Matplotex.Figure.Areal.BarChart do
import Matplotex.Figure.Numer
alias Matplotex.Figure.Region
alias Matplotex.Figure.Dataset
alias Matplotex.Element.Rect
alias Matplotex.Figure.RcParams
alias Matplotex.Figure.Coords
alias Matplotex.Figure
alias Matplotex.Figure.Areal
use Areal

frame(
legend: %Legend{},
coords: %Coords{},
dimension: %Dimension{},
tick: %TwoD{},
limit: %TwoD{},
label: %TwoD{}
label: %TwoD{},
region_x: %Region{},
region_y: %Region{},
region_title: %Region{},
region_legend: %Region{},
region_content: %Region{}
)

@impl Areal
Expand Down
8 changes: 7 additions & 1 deletion lib/matplotex/figure/areal/line_plot.ex
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
defmodule Matplotex.Figure.Areal.LinePlot do
alias Matplotex.Figure.Region
alias Matplotex.Figure.Areal.Ticker
alias Matplotex.Figure.Marker
alias Matplotex.Figure.Dataset
Expand All @@ -16,7 +17,12 @@ defmodule Matplotex.Figure.Areal.LinePlot do
dimension: %Dimension{},
tick: %TwoD{},
limit: %TwoD{},
label: %TwoD{}
label: %TwoD{},
region_x: %Region{},
region_y: %Region{},
region_title: %Region{},
region_legend: %Region{},
region_content: %Region{}
)

@marker_size 3.5
Expand Down
8 changes: 7 additions & 1 deletion lib/matplotex/figure/areal/scatter.ex
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
defmodule Matplotex.Figure.Areal.Scatter do
alias Matplotex.Figure.Region
alias Matplotex.Figure.Areal.Ticker
alias Matplotex.Figure.Marker
alias Matplotex.Figure.Dataset
Expand All @@ -17,7 +18,12 @@ defmodule Matplotex.Figure.Areal.Scatter do
dimension: %Dimension{},
tick: %TwoD{},
limit: %TwoD{},
label: %TwoD{}
label: %TwoD{},
region_x: %Region{},
region_y: %Region{},
region_title: %Region{},
region_legend: %Region{},
region_content: %Region{}
)

@impl Areal
Expand Down
3 changes: 3 additions & 0 deletions lib/matplotex/figure/region.ex
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
defmodule Matplotex.Figure.Region do
defstruct [:x, :y, :width, :height, :name, :theta]
end
24 changes: 0 additions & 24 deletions lib/matplotex/pie_chart/content.ex

This file was deleted.

3 changes: 0 additions & 3 deletions lib/matplotex/pie_chart/element.ex

This file was deleted.

48 changes: 0 additions & 48 deletions lib/matplotex/pie_chart/generate_svg.ex

This file was deleted.

25 changes: 0 additions & 25 deletions lib/matplotex/pie_chart/legend.ex

This file was deleted.

217 changes: 0 additions & 217 deletions lib/matplotex/pie_chart/plot.ex

This file was deleted.

3 changes: 0 additions & 3 deletions lib/matplotex/pie_chart/slice.ex

This file was deleted.

Loading