We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9c8dd39 + 62836e2 commit 6b63ca9Copy full SHA for 6b63ca9
vpython/vpython.py
@@ -2761,7 +2761,7 @@ def pos(self):
2761
@pos.setter
2762
def pos(self, value):
2763
c = self._canvas
2764
- c._autoscale = False
+ c.autoscale = False
2765
c.center = value+self.axis
2766
2767
@property
@@ -2771,7 +2771,7 @@ def axis(self):
2771
@axis.setter
2772
def axis(self, value):
2773
2774
2775
c.center = self.pos+value # use current self.pos before it is changed by change in c.axis
2776
c.axis = norm(value)
2777
c.range = mag(value)*tan(c.fov/2)
0 commit comments