From 3e96ac9050ff2e4239a90ddb647ee78c5a790882 Mon Sep 17 00:00:00 2001 From: Daniel VandenHeuvel <95613936+DanielVandH@users.noreply.github.com> Date: Fri, 6 Oct 2023 14:43:06 +1000 Subject: [PATCH] Update README.md --- WGLMakie/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/WGLMakie/README.md b/WGLMakie/README.md index 5ceaee50e96..a1c44e6efc2 100644 --- a/WGLMakie/README.md +++ b/WGLMakie/README.md @@ -15,7 +15,7 @@ You can also embed plots in a JSServe webpage: ```julia using JSServe -app = App(session, request) +app = App() do session, request return DOM.div( DOM.h1("Some Makie Plots:"), meshscatter(1:4, color=1:4), @@ -23,7 +23,7 @@ app = App(session, request) meshscatter(1:4, color=rand(RGBf, 4)), meshscatter(1:4, color=:red), meshscatter(rand(Point3f, 10), color=rand(RGBf, 10)), - meshscatter(rand(Point3f, 10), marker=Pyramid(Point3f(0), 1f0, 1f0)), + meshscatter(rand(Point3f, 10), marker=WGLMakie.Pyramid(Point3f(0), 1f0, 1f0)), ) end isdefined(Main, :server) && close(server)