Thanks to visit codestin.com Credit goes to github.com
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.
1 parent 76c0edc commit 23fa33bCopy full SHA for 23fa33b
1 file changed
lib/matplotlib/backends/backend_macosx.py
@@ -50,15 +50,15 @@ def set_width_height (self, width, height):
50
51
def draw_path(self, gc, path, transform, rgbFace=None):
52
if rgbFace is not None:
53
- rgbFace = tuple(rgbFace)
+ rgbFace = tuple(rgbFace[:3])
54
linewidth = gc.get_linewidth()
55
- gc.draw_path(path, transform, linewidth, rgbFace[:3])
+ gc.draw_path(path, transform, linewidth, rgbFace)
56
57
def draw_markers(self, gc, marker_path, marker_trans, path, trans, rgbFace=None):
58
59
60
61
- gc.draw_markers(marker_path, marker_trans, path, trans, linewidth, rgbFace[:3])
+ gc.draw_markers(marker_path, marker_trans, path, trans, linewidth, rgbFace)
62
63
def draw_path_collection(self, gc, master_transform, paths, all_transforms,
64
offsets, offsetTrans, facecolors, edgecolors,
0 commit comments