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

Small dots inside nodes #175

Open
diegozea opened this issue Feb 23, 2022 · 2 comments
Open

Small dots inside nodes #175

diegozea opened this issue Feb 23, 2022 · 2 comments

Comments

@diegozea
Copy link
Collaborator

There is a tiny dot inside the nodes when using the plotly backend; it doesn't appear with GR. It is possible to see when the node fill color is white.

dot

Example using Plots 1.25.11 and GraphRecipes 0.5.9:

using Graphs, Plots, GraphRecipes
graph = smallgraph(:karate)
plotly()
graphplot(graph, nodecolor=:white)
gr()
graphplot(graph, nodecolor=:white)
@diegozea
Copy link
Collaborator Author

Ok, this is also happening with GR:

image

using Graphs, Plots, GraphRecipes
graph = smallgraph(:karate)
begin
	node_labels = fill("      ", nv(graph))
	node_labels[1] =   "Mr. Hi"
	node_labels[34] =  "John A"
end
gr()
graphplot(graph, names=node_labels, nodesize=0.5)

@diegozea diegozea changed the title Small dot inside nodes when using plotly Small dots inside nodes Feb 24, 2022
@eugene-shvarts
Copy link

eugene-shvarts commented Jun 9, 2022

@diegozea
From #154 , #154 (comment) :

I noticed that setting markerstrokewidth=0 eliminates the dot, so I think it's an issue with the stroke.

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

2 participants