Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
5 changes: 3 additions & 2 deletions src/ParallelPlots.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
module ParallelPlots

using CairoMakie
using DataFrames
using CairoMakie: Makie, Axis, Colorbar, Point2f, Point2, text!, lines!, empty!, current_figure, hidespines!, size, Observable, lift, @recipe, Attributes, hidedecorations!, on
using DataFrames: DataFrame, names, eachcol, size, minimum, maximum



function normalize_DF(data::DataFrame)
Expand Down
2 changes: 0 additions & 2 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,4 @@ include("test_custom_dimensions.jl")
include("test_default_call.jl")
include("test_recipe_observable.jl")
include("test_lines_count.jl")

# Watson
include("watson_example.jl")
1 change: 1 addition & 0 deletions test/test_argument_errors.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using ParallelPlots: parallelplot
using Test: @testset, @test_throws
using DataFrames: DataFrame
using CairoMakie: save

@testset "ArgumentError Tests" begin
df_missing = DataFrame(Name=["Alice", "Bob", "Charlie"],
Expand Down
1 change: 1 addition & 0 deletions test/test_call_with_color_feature.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using ParallelPlots: parallelplot
using Test: @testset, @test, @test_throws
using CairoMakie: save

@testset "call with color feature Axis" begin

Expand Down
1 change: 1 addition & 0 deletions test/test_call_with_feature_labels.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using ParallelPlots: parallelplot
using Test: @testset, @test, @test_throws
using CairoMakie: save
@testset "call with feature_labels" begin
# Generate sample multivariate data
df = create_person_df(3)
Expand Down
1 change: 1 addition & 0 deletions test/test_call_with_normalize.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using ParallelPlots: parallelplot
using Test: @testset, @test
using CairoMakie: save

@testset "call with normalize" begin

Expand Down
5 changes: 2 additions & 3 deletions test/test_curved.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using ParallelPlots:parallelplot
using Test: @test

using DataFrames: DataFrame
using Test: @test, @testset
using CairoMakie: save

@testset "default call curved" begin

Expand Down
3 changes: 2 additions & 1 deletion test/test_custom_dimensions.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using ParallelPlots: parallelplot
using Test:@test
using Test:@test, @testset
using CairoMakie: save

@testset "call with scene width & height" begin

Expand Down
5 changes: 2 additions & 3 deletions test/test_default_call.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using ParallelPlots: parallelplot
using Test: @test

using DataFrames
using Test: @test, @testset
using CairoMakie: save

@testset "default call" begin

Expand Down
3 changes: 2 additions & 1 deletion test/test_lines_count.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using ParallelPlots: parallelplot
using Test: @test
using Test: @test, @testset
using DataFrames: size

@testset "Lines Count" begin
df=create_person_df()
Expand Down
4 changes: 1 addition & 3 deletions test/test_recipe_observable.jl
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
using ParallelPlots: parallelplot
using CairoMakie:Observable, record # for Record Video
using CairoMakie:Observable, record, save # for Record Video
using Test: @testset

using DataFrames

@testset "Use a Observable DataFrame" begin

# create the Data
Expand Down
2 changes: 1 addition & 1 deletion test/test_utils.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Random: seed!, rand
using DataFrames: DataFrame
using CairoMakie: LineSegments, save, Lines
using CairoMakie: LineSegments, Lines


#generate Data
Expand Down
2 changes: 1 addition & 1 deletion test/watson_example.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using DrWatson: display, @unpack, push!, first, Dict, dict_list
using DataFrames: DataFrame, nrow
using DataFrames: nrow
using ParallelPlots: parallelplot
using CairoMakie: save, Observable, record

Expand Down
Loading