Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 17552ae

Browse files
author
Steve Chaplin
committed
SC 2005/04/04
svn path=/trunk/matplotlib/; revision=1132
1 parent 6622e32 commit 17552ae

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

lib/matplotlib/backends/backend_cairo.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -210,17 +210,17 @@ def draw_markers(self, gc, path, rgbFace, x, y, transform):
210210

211211
if transform.need_nonlinear():
212212
x,y = transform.nonlinear_only_numerix(x, y)
213-
x, y = transform.numerix_x_y(x, y)
214213

215-
# the a,b,c,d,tx,ty affine which transforms x and y
216-
#vec6 = transform.as_vec6_val() # not used (yet)
214+
x, y = transform.numerix_x_y(x, y) # do nonlinear and affine transform
217215

218-
# todo - use cairo transform
216+
# TODO - use cairo transform
219217
# matrix worked for dotted lines, but not markers in line_styles.py
220218
# it upsets/transforms generate_path() ?
219+
# need to flip y too, and update generate_path() ?
220+
# the a,b,c,d,tx,ty affine which transforms x and y
221+
#vec6 = transform.as_vec6_val() # not used (yet)
221222
#matrix_old = ctx.matrix
222-
#matrix = cairo.Matrix (*vec6)
223-
#ctx.set_matrix (matrix)
223+
#ctx.set_matrix (cairo.Matrix (*vec6))
224224

225225
path_list = [path.vertex() for i in range(path.total_vertices())]
226226

0 commit comments

Comments
 (0)