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

Commita72f03b

Browse files
committed
simplify ContourSet.draw
1 parentde229cd commita72f03b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎lib/matplotlib/contour.py‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1268,7 +1268,8 @@ def draw(self, renderer):
12681268
ifedgecolors.size==0:
12691269
edgecolors= ("none",)
12701270
foridxinrange(n_paths):
1271-
withcbook._setattr_cm(self,_paths=[paths[idx]]),self._cm_set(
1271+
withself._cm_set(
1272+
paths=[paths[idx]],
12721273
hatch=self.hatches[idx%len(self.hatches)],
12731274
array=[self.get_array()[idx]],
12741275
linewidths=[self.get_linewidths()[idx%len(self.get_linewidths())]],

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp