Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

resolve failing test #14

Merged
merged 2 commits into from
Jul 2, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
3 changes: 2 additions & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ JuliaFormatter = "98e50ef6-434e-11e9-1051-2b60c6c9e899"
KernelAbstractions = "63c18a36-062a-441e-b654-da1e3ab1ce7c"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
Logging = "56ddb016-857b-54e1-b83d-db4d58db5568"
Makie = "ee78f7c6-11fb-53f2-987a-cfe4a2b5a57a"
Metal = "dde4c033-4e86-420c-a63e-0dd931031962"
OffsetArrays = "6fe1bfb0-de20-5000-8ca7-80f57d26f881"
Parameters = "d96e819e-fc66-5662-9728-84c9c7592b0a"
Expand All @@ -23,7 +24,7 @@ VectorModesolver = "8c544392-5fd9-4640-bea4-e12b3d59d9d1"
YAML = "ddb6d928-2868-570f-bddf-ab3f9cf99eb6"

[compat]
CairoMakie = "0.12"
Makie = ">= 0.20"
julia = "1.8"

[extras]
Expand Down
2 changes: 1 addition & 1 deletion src/Visualization.jl
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ function plot_timesource(sim::SimulationData, time_source::TimeSource, frequenci
PSD = PSD / maximum(PSD)

# Set up the plot
f = Figure(resolution = (800, 400))
f = Figure(;size = (800, 400))
smartalecH marked this conversation as resolved.
Show resolved Hide resolved
ax1 = Axis(f[1, 1], xlabel = "Time (s)", ylabel = "Source amplitude")
lines!(ax1, t, real.(src_amplitude), color = :red)
ax2 = Axis(
Expand Down
Loading