]> CRI, Mines Paris - PSL - linpy.git/blobdiff - linpy/domains.py
Fix error message
[linpy.git] / linpy / domains.py
index 7f4fa65408c154a1e0fcc1342b1733d4d32de78c..a431a023c101fe715e4edc460dc9bb09fe161874 100644 (file)
@@ -604,7 +604,7 @@ class Domain(GeometricObject):
         elif self.dimension == 3:
             return self._plot_3d(plot=plot, **kwargs)
         else:
-            raise ValueError('domain must be 2 or 3-dimensional')
+            raise ValueError('domain must be two or three-dimensional')
 
     def subs(self, symbol, expression=None):
         """