Hide keyboard shortcuts

Hot-keys on this page

r m x p   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

from ._axes import Axes 

 

__all__ = [] # import this module only for its side effects 

 

 

def __repr__(self): 

return "Axes(a=%r, b=%r, theta=%r)" % (self.getA(), self.getB(), self.getTheta()) 

 

 

Axes.__repr__ = __repr__ 

 

 

def __str__(self): 

return "(a=%s, b=%s, theta=%s)" % (self.getA(), self.getB(), self.getTheta()) 

 

 

Axes.__str__ = __str__ 

 

 

def __reduce__(self): 

return (Axes, (self.getA(), self.getB(), self.getTheta())) 

 

 

Axes.__reduce__ = __reduce__