Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit878b681

Browse files
committed
Merge pull request#3 from mdboom/pdf-xobject-linewidth
Pdf xobject linewidth
2 parents1ea88b0 +3a015fa commit878b681

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎lib/matplotlib/backends/backend_pdf.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1617,7 +1617,9 @@ def draw_path_collection(self, gc, master_transform, paths, all_transforms,
16171617
ifnotlen(edgecolors):
16181618
stroked=False
16191619
else:
1620-
ifnp.all(edgecolors[:,3]==edgecolors[0,3]):
1620+
ifnp.all(np.asarray(linewidths)==0.0):
1621+
stroked=False
1622+
elifnp.all(edgecolors[:,3]==edgecolors[0,3]):
16211623
stroked=edgecolors[0,3]!=0.0
16221624
else:
16231625
can_do_optimization=False

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp