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

[BUG] Plot line unexpectedly interrupted #3481

Open
ptoche opened this issue May 10, 2021 · 1 comment
Open

[BUG] Plot line unexpectedly interrupted #3481

ptoche opened this issue May 10, 2021 · 1 comment

Comments

@ptoche
Copy link

ptoche commented May 10, 2021

Buggy plot when executed in Visual Studio Code.

    using Plots, Base64
    function f(x,y) :: Float64
        (x^(1-y)-1)/(1-y)
    end

    default(xlims = (0,1), ylims = (-10, 1))

    p = plot()
    plot!(x -> f(x, 2), 0, 1) 
    plot!(x -> f(x, 5), 0, 1) 

    file = tempname()*".html"
    open(file, "w") do io
        write(io, stringmime(MIME"image/svg+xml"(), p))
    end
    println("Open `$(file)` in a browser to check the plot!")

https://pastebin.com/gxw1ZMuf

a

The plot looks fine when executed in Julia REPL:

a

See this

@pfitzseb

@ptoche
Copy link
Author

ptoche commented Jun 5, 2024

Problem still exists in June 2024:


Version: 1.88.1
Release: 24104
Commit: 0d01a72525276e5e3771fe5851b9c83de0de1e2b
Date: 2024-04-13T01:43:30.924Z (1 mo ago)
Electron: 28.2.8
ElectronBuildId: undefined
Chromium: 120.0.6099.291
Node.js: 18.18.2
V8: 12.0.267.19-electron.0
OS: Darwin arm64 23.5.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants