8000 Added seed aruguement to lib/matplotlib/backends/backend_pgf.py · matplotlib/matplotlib@30287db · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 30287db

Browse files
authored
Added seed aruguement to lib/matplotlib/backends/backend_pgf.py
1 parent a9dcf81 commit 30287db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/backends/backend_pgf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,7 @@ def _print_pgf_path(self, gc, path, transform, rgbFace=None):
575575
# and has a separate "scale" argument for the amplitude.
576576
# -> Use "randomness" as PRNG seed to allow the user to force the
577577
# same shape on multiple sketched lines
578-
scale, length, randomness = sketch_params
578+
scale, length, randomness, seed = sketch_params
579579
if scale is not None:
580580
# make matplotlib and PGF rendering visually similar
581581
length *= 0.5

0 commit comments

Comments
 (0)
0