[NeXus-code-svn] r1819 - trunk/bindings/python/nxs

apache at nexusformat.org apache at nexusformat.org
Fri Feb 10 17:10:35 GMT 2012


Author: Ray Osborn
Date: Fri Feb 10 17:10:34 2012
New Revision: 1819

Modified:
   trunk/bindings/python/nxs/tree.py

Log:
Refs #322: Mostly tidying things up.

* Updated exceptions to use preferred Python syntax and removed some redundant 
  TypeError traps.

* Replaced spaces in NXobject names by underscores.

* Removed check for the dimension products being negative due to overflows.

* In log plots, the minimum value of 0.1 is only used for integer data, where it
  is a reasonable replacement for values of 0. In floating point data, the default
  matplotlib behaviour is restored (but can be overridden by using the zmin keyword
  argument).  



Modified: trunk/bindings/python/nxs/tree.py
Url: http://svn.nexusformat.org/viewvc/NeXusCode/trunk/bindings/python/nxs/tree.py?r1=1818&r2=1819


More information about the NeXus-code-svn mailing list