Skip to content

Cairo required to display plots in VS Code #166

@hdavid16

Description

@hdavid16

I just installed Graphs and GraphPlot on a Windows machine and tried running gplot on a graph. It failed and I had to install Cairo.jl for the graph to display on the VS Code plot pane.

Should Cairo.jl be a dependency in the compat for this project? Or is this an issue with VS Code?

Error message before installing Cairo.jl:
ERROR: The Cairo and Fontconfig packages are necessary for saving as image/png.
Add them with the package manager if necessary, then run import Cairo,Fontconfig before invoking show(::IO, ::MIME"image/png", ::Context).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions