tupdate label conditional - sphere - GPU-based 3D discrete element method algorithm with optional fluid coupling
 (HTM) git clone git://src.adamsgaard.dk/sphere
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) LICENSE
       ---
 (DIR) commit c456eb21a7529669276d50f4a9dceff9b13b405e
 (DIR) parent be8b27cd34e042987b05a57e1e4e4d55535acc99
 (HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
       Date:   Fri, 23 Jan 2015 09:44:36 +0100
       
       update label conditional
       
       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@@ -6069,7 +6069,7 @@ class sim:
                            ax.set_ylim([zpos_c[0], sb.w_x[0]])
                        else:
                            ax.set_ylim([zpos_c[0], zpos_c[-1]])
       -                if numpy.abs(self.p_mod_A) > 1.0e-3:
       +                if self.wmode[0] == 3:
                            ax.set_xlabel('Time $t$ [s]')
                        else:
                            ax.set_xlabel('Shear strain $\\gamma$ [-]')