-
Notifications
You must be signed in to change notification settings - Fork 209
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
exporting pdf and png #621
Comments
I am surprised there is no documentation on this. There is this PDF, which results in visualization that is no where near graphistry visualization, and should not be considered as a way of saving the plots in png/jpg. edges = pd.DataFrame({'s': ['a','b','c','d'], 'd': ['b','c','d','e']})
g = graphistry.edges(edges, 's', 'd')
g.layout_graphviz(
'dot',
render_to_disk=True,
path='graph.png',
format='png'
) |
Yes, it is useful to distinguish layout from rendering -- A bit manual, but from a graphistry viz, you can either:
We had an experimental backend renderer that would return a
I'm curious how those line up with your thinking and your use cases, or you're thinking something else? And any sense of priority level? |
Those are good workarounds! When I right-click save the html, I get a I need to save a screenshot of a graph for scientific paper submission. I am currently including a screenshot from the browser, but that is very low resolution, so I would need to a get a much higher resolution for camera-ready.
Glad you're already thinking of a good solution. Since I need to generate graphs for multiple data sources, and need to render them with same config, this would work best for me:
|
Hi,
How to export the pygraphistry visulalization to png/pdf/svg/jpeg ?
The text was updated successfully, but these errors were encountered: