Skip to content
This repository has been archived by the owner on Jul 19, 2023. It is now read-only.

Commit

Permalink
remove accidental Plots dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas committed Dec 9, 2020
1 parent 2e9fb11 commit b9e3315
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
3 changes: 1 addition & 2 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "DiffEqOperators"
uuid = "9fdde737-9c7f-55bf-ade8-46b3f136cc48"
authors = ["Chris Rackauckas <[email protected]>"]
version = "4.15.1"
version = "4.16.0"

[deps]
BandedMatrices = "aae01518-5342-5314-be14-df237901396f"
Expand All @@ -13,7 +13,6 @@ LazyBandedMatrices = "d7e5e226-e90b-4449-9968-0f923699bf6f"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
ModelingToolkit = "961ee093-0014-501f-94e3-6117800e7a78"
NNlib = "872c559c-99b0-510c-b3b7-b6c96a88d5cd"
Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80"
RuntimeGeneratedFunctions = "7e49a35a-f44a-4d26-94aa-eba1b4ca6b47"
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
Expand Down
10 changes: 5 additions & 5 deletions test/MOL_0D_Logistic.jl
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@ using ModelingToolkit,DiffEqOperators,DiffEqBase,LinearAlgebra,Test

# Solve ODE problem
using OrdinaryDiffEq

sol = solve(prob,Euler(),dt=0.01,saveat=0.1)

# Plot and save results
using Plots
time = domains[1].domain.lower:0.1:domains[1].domain.upper
#using Plots
#time = domains[1].domain.lower:0.1:domains[1].domain.upper

plot(time,sol[5,1,:])
savefig("MOL_0D_Logistic.png")
#plot(time,sol[5,1,:])
#savefig("MOL_0D_Logistic.png")

# Test
# x_interval = domains[2].domain.lower+dx:dx:domains[2].domain.upper-dx
Expand Down
5 changes: 3 additions & 2 deletions test/error_benchmarking.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using DiffEqOperators, Plots
using DiffEqOperators
# using Plots

n = 10000
@show n
Expand All @@ -22,7 +23,7 @@ for dor in 1:4, aor in 2:6

@show max_error
@show avg_error
plot(x[2:(end-1)], err_percent, title="Percentage Error, n=$n aor = $aor, dor = $dor")
#plot(x[2:(end-1)], err_percent, title="Percentage Error, n=$n aor = $aor, dor = $dor")

#test result
end

0 comments on commit b9e3315

Please sign in to comment.