tbugfix in fig title - 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 8ce02384e89cb5a9bcb9b49049e44eff67a93fe1
DIR parent 1f22b9dab8e38bc5c6ad1f66ea18c15fe8622bcd
HTML Author: Anders Damsgaard <adc@geo.au.dk>
Date: Wed, 2 Jan 2013 12:33:26 +0100
bugfix in fig title
Diffstat:
M python/sphere.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/python/sphere.py b/python/sphere.py
t@@ -1295,7 +1295,7 @@ def visualize(project, method = 'energy', savefig = True, outformat = 'png'):
# Plot stresses
if (outformat != 'txt'):
- figtitle = "{1}, $\\tau_u = {} (\gamma = {})$".format(project, tau_u, tau_u_shearstrain)
+ figtitle = "{}, $\\tau_u = {} (\gamma = {})$".format(project, tau_u, tau_u_shearstrain)
fig.text(0.5,0.95,figtitle,horizontalalignment='center',fontproperties=FontProperties(size=18))
ax1 = plt.subplot2grid((2,1),(0,0))
ax1.set_xlabel('Shear strain [-]')