Fix error message in Domain.plot()
[linpy.git] / linpy / domains.py
index 4b3e982..83f6c2c 100644 (file)
@@ -599,7 +599,7 @@ class Domain(GeometricObject):
         elif self.dimension == 3:
             return self._plot_3d(plot=plot, **kwargs)
         else:
         elif self.dimension == 3:
             return self._plot_3d(plot=plot, **kwargs)
         else:
-            raise ValueError('polyhedron must be 2 or 3-dimensional')
+            raise ValueError('domain must be 2 or 3-dimensional')
 
     def subs(self, symbol, expression=None):
         """
 
     def subs(self, symbol, expression=None):
         """