File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ class Mapping(Model):
3737 Examples
3838 --------
3939
40- >>> from astropy.modeling.models import Polynomial1D , Shift, Mapping
40+ >>> from astropy.modeling.models import Polynomial2D , Shift, Mapping
4141 >>> poly1 = Polynomial2D(1, c0_0=1, c1_0=2, c0_1=3)
4242 >>> poly2 = Polynomial2D(1, c0_0=1, c1_0=2.4, c0_1=2.1)
4343 >>> model = (Shift(1) & Shift(2)) | Mapping((0, 1, 0, 1)) | (poly1 & poly2)
@@ -145,7 +145,7 @@ class Identity(Mapping):
145145
146146 Transform ``(x, y)`` by a shift in x, followed by scaling the two inputs::
147147
148- >>> from astropy.modeling.models import (Polynomial1D, Shift, Scale
148+ >>> from astropy.modeling.models import (Polynomial1D, Shift, Scale,
149149 ... Identity)
150150 >>> model = (Shift(1) & Identity(1)) | Scale(1.2) & Scale(2)
151151 >>> model(1,1) # doctest: +FLOAT_CMP
You can’t perform that action at this time.
0 commit comments