From ff9dfc0d8dcafc6f794cd278b2904c2ef326be78 Mon Sep 17 00:00:00 2001 From: Takuya Iwanaga Date: Thu, 16 Nov 2023 15:26:30 +1100 Subject: [PATCH] Update installation notes Users are now required to install the specific backend they would like --- README.md | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d423787..19c3bae 100644 --- a/README.md +++ b/README.md @@ -20,9 +20,22 @@ This package does not aim to provide comprehensive production quality plotting. ### Installation +Install InteractiveViz.jl with one of the Makie backends that support interactivity (GLMakie or WebGLMakie). + ```julia julia>] -pkg> add InteractiveViz +pkg> add InteractiveViz GLMakie +``` + +If more than one Makie backend is available, switch between them in the usual way. + +```julia +using GLMakie + +GLMakie.activate!() + +using WGLMakie +WGLMakie.activate!() ``` ### Quick start @@ -31,7 +44,7 @@ pkg> add InteractiveViz Let's start off visualizing a simple function of one variable: ```julia -julia> using InteractiveViz +julia> using InteractiveViz, GLMakie julia> ilines(sin, 0, 100) ```