1 | initial version |
You need to give m + Q
a new name.
Otherwise when you do (m + Q).set_axes_range(...)
that gets applied to an object which you can no longer recover.
And when you later do (m + Q).get_axes_range(...)
you are computing m + Q
again and that cannot know about the operation you did on the lost object.
Try this:
sage: mQ = m+Q
sage: mQ.set_axes_range(xmin=-0.2,xmax=5.5,ymin=-0.5,ymax=1)
sage: print(mQ.get_axes_range())
sage: mQ.show()
2 | No.2 Revision |
You need to give m + Q
a new name.
Otherwise when you do (m + Q).set_axes_range(...)
that gets applied to an object which you can no longer recover.
And when you later do (m + Q).get_axes_range(...)
you are computing m + Q
again and that cannot know about the operation you did on the lost object.
Try this:
sage: mQ = m+Q
m + Q
sage: mQ.set_axes_range(xmin=-0.2,xmax=5.5,ymin=-0.5,ymax=1)
mQ.set_axes_range(xmin=-0.2, xmax=5.5, ymin=-0.5, ymax=1)
sage: print(mQ.get_axes_range())
sage: mQ.show()