This a python binding to the C++ class Mantid::API::WorkspaceUnitValidator.
bases: mantid.api.MatrixWorkspaceValidator
Checks the workspace has the given unit along the X-axis
Returns an empty string if the value is considered valid, otherwise a string defining the error is returned.