Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
kchu25 committed Aug 21, 2024
1 parent 777f369 commit 6a532e4
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
1 change: 1 addition & 0 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ version = "1.0.0-DEV"
Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80"

[compat]
Plots = "1.40.5"
julia = "1.10.4"

[extras]
Expand Down
3 changes: 2 additions & 1 deletion src/PlotPWM.jl
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
module PlotPWM

using Plots
# Write your package code here.

include("const.jl")
include("helpers.jl")
include("plot_logo.jl")
include("plot_logo_w_crosslinks.jl")

export LogoPlot, LogoPlotWithCrosslink


end
4 changes: 2 additions & 2 deletions src/plot_logo.jl
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ end
thickness_scaling=0.05,
logo_x_offset=0.0,
logo_y_offset=0.0,
margin=275Plots.mm,
margin=200Plots.mm,
beta=1.0)
num_cols = size(data.args[1], 2)
width_factor = exp(-0.65*num_cols+7)+25
Expand All @@ -63,7 +63,7 @@ end
tickdir --> :out
grid --> false
dtick--> 10
margin --> 275Plots.mm
margin --> margin
thickness_scaling --> thickness_scaling
size --> logo_size
pfm = data.args[1]
Expand Down
6 changes: 5 additions & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,9 @@ using PlotPWM
using Test

@testset "PlotPWM.jl" begin
# Write your tests here.





end

0 comments on commit 6a532e4

Please sign in to comment.