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

Appearance settings

Commit 921aa41

Browse filesBrowse files
committed
Merge pull request #5297 from perimosocordiae/patch-1
BUG: recent numpy fails on non-int shape
1 parent e7e0807 commit 921aa41
Copy full SHA for 921aa41

File tree

Expand file treeCollapse file tree

1 file changed

+1
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-0
lines changed

‎lib/matplotlib/backends/backend_webagg_core.py

Copy file name to clipboardExpand all lines: lib/matplotlib/backends/backend_webagg_core.py
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,7 @@ def get_renderer(self, cleared=None):
249249
# so that we can do things such as produce a diff image
250250
# in get_diff_image
251251
_, _, w, h = self.figure.bbox.bounds
252+
w, h = int(w), int(h)
252253
key = w, h, self.figure.dpi
253254
try:
254255
self._lastKey, self._renderer

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.