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

Commit9f8eeab

Browse files
committed
FIX : reorder __init__ of OffsetBox
1 parente4aed0c commit9f8eeab

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎lib/matplotlib/offsetbox.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1225,6 +1225,7 @@ def __init__(self, arr,
12251225
**kwargs
12261226
):
12271227

1228+
OffsetBox.__init__(self)
12281229
self._dpi_cor=dpi_cor
12291230

12301231
self.image=BboxImage(bbox=self.get_window_extent,
@@ -1243,7 +1244,7 @@ def __init__(self, arr,
12431244
self.set_zoom(zoom)
12441245
self.set_data(arr)
12451246

1246-
OffsetBox.__init__(self)
1247+
12471248

12481249
defset_data(self,arr):
12491250
self._data=np.asarray(arr)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp