Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
4f15cad
initial sketch trying to figure out how recipes work by plotting poin…
kellertuer Oct 31, 2020
06da639
further testing on the recipe – limits also do not yet work.
kellertuer Oct 31, 2020
3465f0d
fix axis size and plot style – just plotting of sphere missing.
kellertuer Nov 1, 2020
5d7d97d
adds a change.
kellertuer Nov 8, 2020
13e194d
initial working recipe for plotly() at least.
kellertuer Nov 9, 2020
a6665bd
delete old test file.
kellertuer Nov 9, 2020
374e041
Merge branch 'master' into kellertuer/PlottingRecipeTest
kellertuer Dec 2, 2020
b25bd48
Merge branch 'master' into kellertuer/PlottingRecipeTest
kellertuer Dec 3, 2020
ffab501
Merge branch 'master' into kellertuer/PlottingRecipeTest
kellertuer Dec 3, 2020
f60df97
Adds sphere recipes.
kellertuer Dec 4, 2020
873d2dc
adds a hyperbolic plot. remove old tests
kellertuer Dec 4, 2020
7b70e2f
Simplify recipes, refine docs.
kellertuer Dec 5, 2020
4986cde
Fixes code to match old tests again.
kellertuer Dec 5, 2020
e2d0b0d
Finishes a first complete variant of the 3D plots.
kellertuer Dec 7, 2020
470e327
fixes a spacing.
kellertuer Dec 7, 2020
d0a14b3
change Sphere plots to pyplot. Writes tests.
kellertuer Dec 9, 2020
9913e56
fixes spacing.
kellertuer Dec 9, 2020
530de75
Update doc deps.
kellertuer Dec 9, 2020
4a0a01d
add PyPLot to extras
kellertuer Dec 9, 2020
fc56da3
hopefully fixes deps.
kellertuer Dec 9, 2020
0e2fc19
Finishes the tests.
kellertuer Dec 10, 2020
fe40c15
Adapts ci and documenter to work with headless GR.
kellertuer Dec 10, 2020
5850dad
similarly for nightly.
kellertuer Dec 10, 2020
b323bac
fixes another test.
kellertuer Dec 10, 2020
f5a2a14
fiddling around with Python and GKS variables.
kellertuer Dec 10, 2020
1af428b
runs formatter.
kellertuer Dec 10, 2020
21c3ba4
try another way to provide python environment.
kellertuer Dec 10, 2020
5b88f03
add PyPlot to dependencies (Extras) for testing.
kellertuer Dec 10, 2020
a45a219
tries a later variant of env.
kellertuer Dec 10, 2020
7c95599
fix env for makie and and removes a display popup.
kellertuer Dec 10, 2020
5866692
runs code formatter.
kellertuer Dec 10, 2020
0b21ce4
unify recipes test with documenter.
kellertuer Dec 10, 2020
7941aaa
fixes one further bug.
kellertuer Dec 10, 2020
bc59bcf
let's try another of all these cases that locally do work.
kellertuer Dec 10, 2020
b680a34
Revert "let's try another of all these cases that locally do work."
kellertuer Dec 10, 2020
9cd4b7c
Apply suggestions from code review
kellertuer Dec 11, 2020
4404fd1
Update a reference and adress points from review.
kellertuer Dec 11, 2020
74ebad4
Bump version.
kellertuer Dec 11, 2020
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
Prev Previous commit
Next Next commit
fiddling around with Python and GKS variables.
  • Loading branch information
kellertuer committed Dec 10, 2020
commit f5a2a14184349dff014cb2a76c2453558f1d2780
2 changes: 0 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ jobs:
arch: x64
- uses: julia-actions/julia-buildpkg@latest
- uses: julia-actions/julia-runtest@latest
env:
GKSwstype: "100"
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v1
with:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/documenter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
GKSwstype: "100"
note:
name: "Documentation deployment note."
runs-on: ubuntu-latest
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,3 @@ jobs:
arch: x64
- uses: julia-actions/julia-buildpkg@latest
- uses: julia-actions/julia-runtest@latest
env:
GKSwstype: "100"
3 changes: 2 additions & 1 deletion docs/make.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using Plots, RecipesBase, Manifolds, ManifoldsBase, Documenter
ENV["PYTHON"] = ""
using Plots, RecipesBase, Manifolds, ManifoldsBase, Documenter, PyPlot
# required for loading the Manifolds.ManifoldTests module
using Test, ForwardDiff, ReverseDiff

Expand Down
Binary file added test/assets/Sphere2Plot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 4 additions & 1 deletion test/recipes.jl
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
ENV["PYTHON"] = ""
using RecipesBase, VisualRegressionTests, Plots, Colors, Gtk
include("utils.jl")
# Note that the `false`s avoid popups and the tests directly fail.
Expand All @@ -6,6 +7,7 @@ include("utils.jl")
@testset "Recipes Test" begin
references_folder = joinpath(@__DIR__, "assets")
@testset "2D Recipes in GR" begin
ENV["GKSwstype"] = "100"
gr()
function Hyp2PB_plot()
M = Hyperbolic(2)
Expand Down Expand Up @@ -58,6 +60,7 @@ include("utils.jl")
@plottest Hyp2PH_quiver joinpath(references_folder, "Hyp2PHQuiver.png") false
end
@testset "3D Recipes in GR" begin
ENV["GKSwstype"] = "100"
gr()
function Hyp2_plot()
M = Hyperbolic(2)
Expand Down Expand Up @@ -88,7 +91,7 @@ include("utils.jl")
pts = [[1.0, 0.0, 0.0], [0.0, -1.0, 0.0], [0.0, 0.0, 1.0], [1.0, 0.0, 0.0]]
return plot(M, pts; wireframe_color = colorant"#CCCCCC", markersize = 10)
end
@plottest Sphere2_plot joinpath(references_folder, "Sphere2Plot.png") false
@plottest Sphere2_plot joinpath(references_folder, "Sphere2Plot.png") true

function Sphere2_plot_geo()
M = Sphere(2)
Expand Down