timprove plot geometry - sphere - GPU-based 3D discrete element method algorithm with optional fluid coupling
HTML git clone git://src.adamsgaard.dk/sphere
DIR Log
DIR Files
DIR Refs
DIR LICENSE
---
DIR commit e95e18048fbccdb54388abf00714a4a2e4eab71b
DIR parent 6f4771026b45855d06954c589b1b3db7f01c6922
HTML Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Wed, 21 Jan 2015 12:41:21 +0100
improve plot geometry
Diffstat:
M python/sphere.py | 1 +
1 file changed, 1 insertion(+), 0 deletions(-)
---
DIR diff --git a/python/sphere.py b/python/sphere.py
t@@ -5212,6 +5212,7 @@ class sim:
plt.grid()
plt.xlabel(xlabel)
plt.ylabel(ylabel)
+ plt.tight_layout()
filename = self.sid + '-sin.' + outformat
plt.savefig(filename)
print(filename)