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

Commit9067cdd

Browse files
authored
Merge pull request#25436 from meeseeksmachine/auto-backport-of-pr-25428-on-v3.7.x
Backport PR#25428 on branch v3.7.x (Fix Legend.set_draggable() with update="bbox")
2 parents34f9999 +46080e6 commit9067cdd

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
@@ -77,7 +77,7 @@ def finalize_offset(self):
7777
ifself._update=="loc":
7878
self._update_loc(self.get_loc_in_canvas())
7979
elifself._update=="bbox":
80-
self._bbox_to_anchor(self.get_loc_in_canvas())
80+
self._update_bbox_to_anchor(self.get_loc_in_canvas())
8181

8282
def_update_loc(self,loc_in_canvas):
8383
bbox=self.legend.get_bbox_to_anchor()

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp