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

Skip to content

Commit e89113e

Browse files
r3ksteImpaler343
authored andcommitted
minor fixes
1 parent 6f9004d commit e89113e

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

lib/matplotlib/backends/backend_pdf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2084,7 +2084,7 @@ def draw_path_collection(self, gc, master_transform, paths, all_transforms,
20842084
lastx, lasty = 0, 0
20852085
for xo, yo, path_id, gc0, rgbFace in self._iter_collection(
20862086
gc, path_codes, offsets, offset_trans,
2087-
facecolors, edgecolors, linewidths, linestyles,
2087+
facecolors, edgecolors, hatchcolors, linewidths, linestyles,
20882088
antialiaseds, urls, offset_position):
20892089

20902090
self.check_gc(gc0, rgbFace)

lib/matplotlib/backends/backend_ps.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,7 @@ def draw_path_collection(self, gc, master_transform, paths, all_transforms,
548548

549549
for xo, yo, path_id, gc0, rgbFace in self._iter_collection(
550550
gc, path_codes, offsets, offset_trans,
551-
facecolors, edgecolors, linewidths, linestyles,
551+
facecolors, edgecolors, hatchcolors, linewidths, linestyles,
552552
antialiaseds, urls, offset_position):
553553
ps = f"{xo:g} {yo:g} {path_id}"
554554
self._draw_ps(ps, gc0, rgbFace)

lib/matplotlib/backends/backend_svg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -768,7 +768,7 @@ def draw_path_collection(self, gc, master_transform, paths, all_transforms,
768768

769769
for xo, yo, path_id, gc0, rgbFace in self._iter_collection(
770770
gc, path_codes, offsets, offset_trans,
771-
facecolors, edgecolors, linewidths, linestyles,
771+
facecolors, edgecolors, hatchcolors, linewidths, linestyles,
772772
antialiaseds, urls, offset_position):
773773
url = gc0.get_url()
774774
if url is not None:

lib/matplotlib/tests/test_backend_bases.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def check(master_transform, paths, all_transforms,
3737
rb._iter_collection(
3838
gc, range(len(raw_paths)), offsets,
3939
transforms.AffineDeltaTransform(master_transform),
40-
facecolors, edgecolors, [], [], [False],
40+
facecolors, edgecolors, [], [], [], [False],
4141
[], 'screen')]
4242
uses = rb._iter_collection_uses_per_path(
4343
paths, all_transforms, offsets, facecolors, edgecolors)

0 commit comments

Comments
 (0)