JuliaGraphs / JuliaGraphs/GraphPlot.jl
node colors not saving to `.pdf`
Open
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 213
- Forks
- 62
- PR merge metrics
- No merged PRs in 30d
Description
oddly the node colors are not saving when I save to .pdf.
after
gp = gplot(SimpleGraph(xtal.bonds),
nodefillc=node_colors,
nodestrokec=colorant"black",
nodestrokelw=0.5)
what Pluto.jl displays:

after
draw(PDF("IRMOF-1_graph.pdf", 12cm, 12cm), gp)
what the .pdf looks like:

Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by running the provided Julia reproducer with gplot and draw(PDF("IRMOF-1_graph.pdf", 12cm, 12cm), gp), then compare the Pluto.jl display with the generated PDF. Done means the node colors shown in Pluto.jl are also preserved in the PDF output.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- data-visualization
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100