Skip to content

Commit

Permalink
remove test dependency on CSV
Browse files Browse the repository at this point in the history
  • Loading branch information
bjarthur committed Nov 17, 2019
1 parent 248f308 commit abe8098
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 1 addition & 3 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ Showoff = "992d4aef-0814-514b-bc4d-f2e9a6c4116f"
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"

[compat]
CSV = "0.4, 0.5"
Cairo = "0.7, 0.8"
CategoricalArrays = "0.5, 0.7"
Colors = "0.9"
Expand All @@ -57,7 +56,6 @@ Unitful = "0.15, 0.16"
julia = "1"

[extras]
CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b"
Cairo = "159f3aea-2a34-519c-b102-8c37f9878175"
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
LibGit2 = "76f85450-5226-5b5a-8eaa-529ad045b433"
Expand All @@ -66,4 +64,4 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
Unitful = "1986cc42-f94f-5a68-af5c-568840ba703d"

[targets]
test = ["CSV", "Cairo", "DataFrames", "LibGit2", "RDatasets", "Test", "Unitful"]
test = ["Cairo", "DataFrames", "LibGit2", "RDatasets", "Test", "Unitful"]
6 changes: 4 additions & 2 deletions test/testscripts/issue120.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
using Gadfly, DataFrames, Compat, CSV
using Gadfly, DataFrames, Compat, DelimitedFiles

set_default_plot_size(6inch, 3inch)

plot(CSV.read(joinpath(dirname(@__DIR__), "data","issue120.csv")), x=:x1, y=:x2)
dlm = readdlm(joinpath(dirname(@__DIR__), "data","issue120.csv"), ',')
df = DataFrame(convert.(Float64,dlm[2:end,:]), Symbol.(dlm[1,:]))
plot(df, x=:x1, y=:x2)

0 comments on commit abe8098

Please sign in to comment.