@@ -659,7 +659,7 @@ def get_xydata(self):
659659 """
660660 Return the *xy* data as a Nx2 numpy array.
661661 """
662- if self ._invalidy or self .invalidx :
662+ if self ._invalidy or self ._invalidx :
663663 self .recache ()
664664 return self ._xy
665665
@@ -831,7 +831,7 @@ def set_markeredgewidth(self, ew):
831831
832832 def set_markerfacecolor (self , fc ):
833833 """
834- Set the marker face color.
834+ Set the marker face color.
835835
836836 ACCEPTS: any matplotlib color
837837 """
@@ -842,7 +842,7 @@ def set_markerfacecolor(self, fc):
842842
843843 def set_markerfacecoloralt (self , fc ):
844844 """
845- Set the alternate marker face color.
845+ Set the alternate marker face color.
846846
847847 ACCEPTS: any matplotlib color
848848 """
@@ -1020,7 +1020,7 @@ def _draw_point(self, renderer, gc, path, path_trans):
10201020 path , path_trans , rgbFace )
10211021 transform = transform .rotate_deg (180. )
10221022 renderer .draw_markers (gc , righthalf , transform ,
1023- path , path_trans , rgbFace_alt )
1023+ path , path_trans , rgbFace_alt )
10241024
10251025
10261026 _draw_pixel_transform = Affine2D ().translate (- 0.5 , - 0.5 )
@@ -1041,7 +1041,7 @@ def _draw_circle(self, renderer, gc, path, path_trans):
10411041 rgbFace = self ._get_rgb_face ()
10421042 fs = self .get_fillstyle ()
10431043 if fs == 'full' :
1044- renderer .draw_markers (gc , Path .unit_circle (), transform ,
1044+ renderer .draw_markers (gc , Path .unit_circle (), transform ,
10451045 path , path_trans , rgbFace )
10461046 else :
10471047 rgbFace_alt = self ._get_rgb_face (alt = True )
@@ -1118,7 +1118,7 @@ def _draw_triangle(self, renderer, gc, path, path_trans, direction):
11181118 path , path_trans , rgbFace )
11191119 renderer .draw_markers (gc , mpath_alt , transform ,
11201120 path , path_trans , rgbFace_alt )
1121-
1121+
11221122
11231123 def _draw_triangle_up (self , renderer , gc , path , path_trans ):
11241124 self ._draw_triangle (renderer , gc , path , path_trans , 'up' )
@@ -1190,7 +1190,7 @@ def _draw_diamond(self, renderer, gc, path, path_trans):
11901190 path , path_trans , rgbFace )
11911191 renderer .draw_markers (gc , left , transform ,
11921192 path , path_trans , rgbFace_alt )
1193-
1193+
11941194
11951195 def _draw_thin_diamond (self , renderer , gc , path , path_trans ):
11961196 gc .set_snap (renderer .points_to_pixels (self ._markersize ) >= 3.0 )
@@ -1238,7 +1238,7 @@ def _draw_pentagon(self, renderer, gc, path, path_trans):
12381238 path , path_trans , rgbFace )
12391239 else :
12401240 verts = polypath .vertices
1241-
1241+
12421242 y = (1 + np .sqrt (5 ))/ 4.
12431243 top = Path ([verts [0 ], verts [1 ], verts [4 ], verts [0 ]])
12441244 bottom = Path ([verts [1 ], verts [2 ], verts [3 ], verts [4 ], verts [1 ]])
@@ -1299,7 +1299,7 @@ def _draw_star(self, renderer, gc, path, path_trans):
12991299
13001300
13011301 def _draw_hexagon1 (self , renderer , gc , path , path_trans ):
1302- gc .set_snap (renderer .points_to_pixels (self ._markersize ) >= 5.0 )
1302+ gc .set_snap (renderer .points_to_pixels (self ._markersize ) >= 5.0 )
13031303 offset = 0.5 * renderer .points_to_pixels (self ._markersize )
13041304 transform = Affine2D ().scale (offset )
13051305
@@ -1338,7 +1338,7 @@ def _draw_hexagon1(self, renderer, gc, path, path_trans):
13381338
13391339
13401340 def _draw_hexagon2 (self , renderer , gc , path , path_trans ):
1341- gc .set_snap (renderer .points_to_pixels (self ._markersize ) >= 5.0 )
1341+ gc .set_snap (renderer .points_to_pixels (self ._markersize ) >= 5.0 )
13421342 offset = 0.5 * renderer .points_to_pixels (self ._markersize )
13431343 transform = Affine2D ().scale (offset ).rotate_deg (30 )
13441344
0 commit comments