tbugfix in fig title - sphere - GPU-based 3D discrete element method algorithm … | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit 8ce02384e89cb5a9bcb9b49049e44eff67a93fe1 | |
parent 1f22b9dab8e38bc5c6ad1f66ea18c15fe8622bcd | |
Author: Anders Damsgaard <[email protected]> | |
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(-) | |
--- | |
diff --git a/python/sphere.py b/python/sphere.py | |
t@@ -1295,7 +1295,7 @@ def visualize(project, method = 'energy', savefig = True… | |
# Plot stresses | |
if (outformat != 'txt'): | |
- figtitle = "{1}, $\\tau_u = {} (\gamma = {})$".format(project, tau… | |
+ figtitle = "{}, $\\tau_u = {} (\gamma = {})$".format(project, tau_… | |
fig.text(0.5,0.95,figtitle,horizontalalignment='center',fontproper… | |
ax1 = plt.subplot2grid((2,1),(0,0)) | |
ax1.set_xlabel('Shear strain [-]') |