Skip to content

How can I control the output plot size in Juno's Plots pane? #94

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

Closed
AnselmJeong opened this issue Sep 7, 2019 · 3 comments
Closed

How can I control the output plot size in Juno's Plots pane? #94

AnselmJeong opened this issue Sep 7, 2019 · 3 comments

Comments

@AnselmJeong
Copy link

I've been using GraphPlot.jl in Juno IDE environment (add-on on ATOM).

The output from gplot() command in Juno's Plots pane is so small so that it is hard to identify node or edge labels.
Unlike ordinary output from plot() command, zoom in or zoom out options are disabled.
I cannot find any arguments in gplot() to control the overall size of the output plot. Do you know how?

g = graphfamous("karate")
gplot(g)

image

Thanks in advance…

@lihebi
Copy link

lihebi commented Sep 1, 2020

+1 for controlling of graph size, I'm on IJulia jupyter-notebook backend

@simonschoelly
Copy link
Member

As GraphPlot uses Compose internally, you could just change the default settings there:

julia> using Compose
julia> set_default_graphic_size(20cm,20cm)

That should make the drawing area bigger.

@hdavid16
Copy link
Contributor

Might make sense to export set_default_graphic_size in GraphPlot and add this to the docs

hdavid16 added a commit to hdavid16/GraphPlot.jl that referenced this issue Jul 28, 2022
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

Successfully merging a pull request may close this issue.

4 participants