Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with PlotlyBase.to_html : uninitialized variable #91

Open
owein-thuillier opened this issue Jan 25, 2022 · 0 comments
Open

Error with PlotlyBase.to_html : uninitialized variable #91

owein-thuillier opened this issue Jan 25, 2022 · 0 comments

Comments

@owein-thuillier
Copy link

owein-thuillier commented Jan 25, 2022

Hello, I've been using the function "PlotlyBase.to_html" recently, but it seems there is an error with an uninitialized variable (embed_plotlyjs) when a path to a ".js" file is provided.

...
elseif endswith(including, ".js")
            # check if this is a file
            if embed_plotlyjs
                if !isfile(including)
                    error("cannot embed $(including) file not found")
                end
...

In file : https://github.com/sglyon/PlotlyBase.jl/blob/master/src/output.jl

@owein-thuillier owein-thuillier changed the title Error with PlotlyBase.to_html : uninitialised variable Error with PlotlyBase.to_html : uninitialized variable Jan 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant