Skip to content

Commit

Permalink
PlutoVista bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
j-fu committed Sep 29, 2021
1 parent 87d2a11 commit 64c34aa
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "GridVisualize"
uuid = "5eed8a63-0fb0-45eb-886d-8d5a387d12b8"
authors = ["Juergen Fuhrmann <[email protected]>"]
version = "0.3.2"
version = "0.3.3"

[deps]
ColorSchemes = "35d6a980-a343-548e-a6ea-1d62b119f2f4"
Expand Down
2 changes: 1 addition & 1 deletion examples/plutovista.jl
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ scalarplot!(p3d,g3,f3;levels=[flevel],xplanes=[xplane],yplanes=[yplane],zplanes=
X4=-1:0.1:1; g4=simplexgrid(X4,X4,X4)

# ╔═╡ 57ed5eea-bc1c-45eb-b4d3-dc63088db21a
scalarplot(g4,map( (x,y,z)-> 0.01*exp(-x^2-y^2-z^2),g4),levels=3)
scalarplot(g4,map( (x,y,z)-> 0.01*exp(-10*(x^2+y^2+z^2)),g4),levels=3)

# ╔═╡ 597849e9-b9a7-4728-a278-7571d7c1a625
scalarplot(Plotter=PyPlot,g3,f3;resolution=(300,300),levels=[0.5],
Expand Down
6 changes: 3 additions & 3 deletions src/plutovista.jl
Original file line number Diff line number Diff line change
Expand Up @@ -153,9 +153,9 @@ function gridplot!(ctx, TP::Type{PlutoVistaType}, ::Type{Val{3}}, grid)

PlutoVista.backend!(ctx[:figure],backend=ctx[:backend],datadim=3)
PlutoVista.tetmesh!(ctx[:figure],pts,tris,
xplane=ctx[:xplane],
yplane=ctx[:yplane],
zplane=ctx[:zplane],
xplanes=ctx[:xplanes],
yplanes=ctx[:yplanes],
zplanes=ctx[:zplanes],
markers=markers,colormap=cmap,
faces=faces,facemarkers=facemarkers,facecolormap=bcmap,
outlinealpha=ctx[:outlinealpha])
Expand Down

2 comments on commit 64c34aa

@j-fu
Copy link
Member Author

@j-fu j-fu commented on 64c34aa Sep 29, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/45750

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.3.3 -m "<description of version>" 64c34aa55fff41b3838df2836ac0ca01426d031b
git push origin v0.3.3

Please sign in to comment.