Changeset 4817 for trunk/GSASIIplot.py
- Timestamp:
- Feb 14, 2021 11:16:10 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIplot.py
r4812 r4817 8208 8208 rho = G2mth.getRho([Cx,Cy,Cz],mapData) 8209 8209 if contours: 8210 contlevels = contourSet.get_array() 8211 contstr = str(contlevels).strip('[]') 8212 G2frame.G2plotNB.status.SetStatusText('Cursor position: %.4f, %.4f, %.4f; density: %.4f, contours at: %s'%(Cx,Cy,Cz,rho,contstr),1) 8210 try: 8211 contlevels = contourSet.get_array() 8212 contstr = str(contlevels).strip('[]') 8213 G2frame.G2plotNB.status.SetStatusText('Cursor position: %.4f, %.4f, %.4f; density: %.4f, contours at: %s'%(Cx,Cy,Cz,rho,contstr),1) 8214 except AttributeError: 8215 G2frame.G2plotNB.status.SetStatusText('Cursor position: %.4f, %.4f, %.4f; density: %.4f'%(Cx,Cy,Cz,rho),1) 8213 8216 else: 8214 8217 G2frame.G2plotNB.status.SetStatusText('Cursor position: %.4f, %.4f, %.4f; density: %.4f'%(Cx,Cy,Cz,rho),1)
Note: See TracChangeset
for help on using the changeset viewer.