ArcPlot figure too small and with lots of space
See original GitHub issue- nxviz version: 0.6.2
- Python version: 3.6.10
- Jupyter: 1.0.0
- Operating System: Windows 10 Home
Description
Hi! I’m a bit unsatisfied with the figure size in Jupyter Notebook and the white space the plot produce. I have tried to change the figure size but the result is not very nice.
What I Did
# 1 - without figure size setting
a = ArcPlot(K,
edge_width='weight', edge_color='weight',
node_size='betweenness')
a.draw()
plt.show()
# 2 - with figure size setting
a = ArcPlot(K, figsize=(30,30),
edge_width='weight', edge_color='weight',
node_size='betweenness')
a.draw()
plt.show()
Result 1:
Result2:
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
plots were too small while I tried to plot multiple graphics
Description of issue - I used mfrow code to draw a multiple graphics, but the axes were too small and even can't see...
Read more >arc plot gpu plotting 0.6 release, please help test and ... - Reddit
Since this is closed source I am trying to figure out how to run it in a docker container that is able to...
Read more >Story Arcs: Definitions and Examples of the 6 Shapes of Stories
A story arc, or narrative arc, describes the shape of the change in value, whether rise or fall, over the course of the...
Read more >How to use the nxviz.plots.ArcPlot function in nxviz - Snyk
ArcPlot examples, based on popular ways it is used in public projects. ... Displays a NetworkX barbell graph to screen using a ArcPlot....
Read more >Character Arc Plot & Kurt Vonnegut's Story Shapes
Usually, the main focus is on the difference between the beginning and end state of the character, so that the overall shape of...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@kwbln I went into the source code and modified the implementation of
draw()
. For the time being, I suspect that just usingplt.tight_layout()
andplt. autoscale()
is the best solution available (even though it may still result in some excessive whitespace).This coming weekend, I’ll see how pushing the two lines of code into the
ArcPlot
changes things (or if it even does change things).I will upload my “Kangaroo Network” to Github and give you access. I’m following along your DataCamp course 😉