Skip to content

Commit

Permalink
Update vtk.js to 25.x.y
Browse files Browse the repository at this point in the history
  • Loading branch information
j-fu committed Oct 20, 2022
1 parent 06835c7 commit 7c0e300
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "PlutoVista"
uuid = "646e1f28-b900-46d7-9d87-d554eb38a413"
authors = ["Juergen Fuhrmann <[email protected]>"]
version = "0.8.13"
version = "0.8.14"

[deps]
ColorSchemes = "35d6a980-a343-548e-a6ea-1d62b119f2f4"
Expand All @@ -14,7 +14,7 @@ UUIDs = "cf7118a7-6976-5b1a-9a39-7adc72f591a4"
[compat]
ColorSchemes = "3"
Colors = "0.12,1"
DocStringExtensions = "0.8"
DocStringExtensions = "0.8,0.9"
GridVisualize = "0.4,0.5"
HypertextLiteral = "0.9"
julia = "1.6"
2 changes: 1 addition & 1 deletion src/plutoplotlyplot.jl
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ $(TYPEDSIGNATURES)
Show plotly plot.
"""
function Base.show(io::IO, ::MIME"text/html", p::PlutoPlotlyPlot)
function Base.show(io::IO, ::Union{MIME"text/html", MIME"juliavscode/html"}, p::PlutoPlotlyPlot)
result="""
<script type="text/javascript" src="https://cdn.plot.ly/plotly-2.10.0.min.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion src/plutovtkplot.jl
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ function Base.show(io::IO, ::MIME"text/html", p::PlutoVTKPlot)
"""
end
result="""
<script type="text/javascript" src="https://unpkg.com/vtk.js@20"></script>
<script type="text/javascript" src="https://unpkg.com/vtk.js@25"></script>
<script>
$(plutovtkplot)
$(canvascolorbar)
Expand Down

0 comments on commit 7c0e300

Please sign in to comment.