@@ -532,7 +532,7 @@ def _generate_motor_patches(self, ax, plane="xz"):
532532 + self .rocket .motor .grains_center_of_mass_position * total_csys
533533 )
534534 ax .scatter (
535- grains_cm_position .real , # .real
535+ grains_cm_position .real ,
536536 0 ,
537537 color = "brown" ,
538538 label = "Grains Center of Mass" ,
@@ -541,10 +541,10 @@ def _generate_motor_patches(self, ax, plane="xz"):
541541 )
542542
543543 chamber = self .rocket .motor .plots ._generate_combustion_chamber (
544- translate = (grains_cm_position .real , 0 ), label = None # .real
544+ translate = (grains_cm_position .real , 0 ), label = None
545545 )
546546 grains = self .rocket .motor .plots ._generate_grains (
547- translate = (grains_cm_position .real , 0 ) # .real
547+ translate = (grains_cm_position .real , 0 )
548548 )
549549
550550 motor_patches += [chamber , * grains ]
@@ -555,7 +555,7 @@ def _generate_motor_patches(self, ax, plane="xz"):
555555 + self .rocket .motor .grains_center_of_mass_position * total_csys
556556 )
557557 ax .scatter (
558- grains_cm_position .real , # .real
558+ grains_cm_position .real ,
559559 0 ,
560560 color = "brown" ,
561561 label = "Grains Center of Mass" ,
@@ -567,16 +567,16 @@ def _generate_motor_patches(self, ax, plane="xz"):
567567 translate = (self .rocket .motor_position , 0 ), csys = total_csys
568568 )
569569 chamber = self .rocket .motor .plots ._generate_combustion_chamber (
570- translate = (grains_cm_position .real , 0 ), label = None # .real
570+ translate = (grains_cm_position .real , 0 ), label = None
571571 )
572572 grains = self .rocket .motor .plots ._generate_grains (
573- translate = (grains_cm_position .real , 0 ) # .real
573+ translate = (grains_cm_position .real , 0 )
574574 )
575575 motor_patches += [chamber , * grains ]
576576 for tank , center in tanks_and_centers :
577577 ax .scatter (
578- center [0 ].real , # .real
579- center [1 ].real , # .real
578+ center [0 ].real ,
579+ center [1 ].real ,
580580 color = "black" ,
581581 alpha = 0.2 ,
582582 s = 5 ,
@@ -590,8 +590,8 @@ def _generate_motor_patches(self, ax, plane="xz"):
590590 )
591591 for tank , center in tanks_and_centers :
592592 ax .scatter (
593- center [0 ].real , # .real
594- center [1 ].real , # .real
593+ center [0 ].real ,
594+ center [1 ].real ,
595595 color = "black" ,
596596 alpha = 0.2 ,
597597 s = 4 ,
0 commit comments