JuliaGraphs / JuliaGraphs/GraphPlot.jl

node colors not saving to `.pdf`

Open
#156 6 comments 1 reaction 0 assignees View on GitHub

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:
image
after

draw(PDF("IRMOF-1_graph.pdf", 12cm, 12cm), gp)

what the .pdf looks like:
image

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.