Skip to content

Commit

Permalink
remove pyplot
Browse files Browse the repository at this point in the history
  • Loading branch information
floswald committed Mar 20, 2018
1 parent fc867a0 commit c04f5bf
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ git:

## uncomment the following lines to override the default test script
script:
- julia -e 'Pkg.clone(pwd());ENV["PYTHON"]=""; Pkg.build("PyCall"); Pkg.build("ApproXD"); Pkg.test("ApproXD"; coverage=true)'
- julia -e 'Pkg.clone(pwd()); Pkg.build("ApproXD"); Pkg.test("ApproXD"; coverage=true)'
after_success:
# push coverage results to Coveralls
- julia -e 'cd(Pkg.dir("ApproXD")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'
Expand Down
3 changes: 1 addition & 2 deletions REQUIRE
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
julia 0.6
StatsBase
@osx PyPlot
StatsBase
5 changes: 1 addition & 4 deletions src/ApproXD.jl
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,7 @@ module ApproXD
include("lininterp.jl")
# couldn't get PyPlot to install properly on appveyor.
# so windows users can't do the plots. there not that important anyway.
if is_apple()
using PyPlot
include("plotting.jl")
end
# include("plotting.jl")

export BSpline,
Lininterp,
Expand Down
2 changes: 2 additions & 0 deletions src/plotting.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@


using PyPlot



# 2D approximation example
Expand Down

0 comments on commit c04f5bf

Please sign in to comment.