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

Commit504f619

Browse files
committed
update to new way of warning after rebase
1 parent6bce43f commit504f619

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎lib/matplotlib/legend.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1117,7 +1117,7 @@ def _find_best_position(self, width, height, renderer, consider=None):
11171117
verts,bboxes,lines,offsets=self._auto_legend_data()
11181118
ifself._loc_used_defaultandverts.shape[0]>200000:
11191119
# this size results in a 3+ second render time on a good machine
1120-
warnings.warn(
1120+
cbook._warn_external(
11211121
'Creating legend with loc="best" can be slow with large'
11221122
' amounts of data.'
11231123
)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp