Skip to content

Commit

Permalink
Merge pull request #50 from TidierOrg/makie-only
Browse files Browse the repository at this point in the history
tests now pass
  • Loading branch information
rdboyes authored Jan 11, 2024
2 parents aae84e9 + 6305428 commit 11e4fd2
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
10 changes: 5 additions & 5 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "TidierPlots"
uuid = "337ecbd1-5042-4e2a-ae6f-ca776f97570a"
authors = ["Randall Boyes <[email protected]> and contributors"]
version = "0.5.3"
version = "0.5.4"

[deps]
AlgebraOfGraphics = "cbdf2221-f076-402e-a563-3d30da359d67"
Expand All @@ -13,14 +13,14 @@ Makie = "ee78f7c6-11fb-53f2-987a-cfe4a2b5a57a"
Reexport = "189a3867-3050-52da-a836-e630ba90ab69"

[compat]
AlgebraOfGraphics = "0.6"
CairoMakie = "0.10"
AlgebraOfGraphics = "0.6.18"
CairoMakie = "0.11"
Chain = "0.5"
Colors = "0.12"
DataFrames = "1.5"
Makie = "0.19"
Makie = "0.20"
Reexport = "1.2"
julia = "1.6"
julia = "1.10"

[extras]
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
Expand Down
12 changes: 7 additions & 5 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -97,12 +97,14 @@ end
visual(BoxPlot)
)
@test plot_images_equal(
ggplot(penguins, aes(x = "bill_length_mm", y = "bill_depth_mm")) +
ggplot(penguins, aes(x = "bill_length_mm",
y = "bill_depth_mm",
colour = "species")) +
geom_contour(),
data(penguins) *
AlgebraOfGraphics.density() *
visual(Contour) *
mapping(x = :bill_length_mm, y = :bill_depth_mm)
data(penguins) *
density() *
visual(Contour) *
mapping(:bill_length_mm, :bill_depth_mm, color = :species)
)

end
Expand Down

0 comments on commit 11e4fd2

Please sign in to comment.