Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b6d18bb + a6b094c commit f184f2dCopy full SHA for f184f2d
1 file changed
lib/matplotlib/backends/backend_webagg_core.py
@@ -249,6 +249,7 @@ def get_renderer(self, cleared=None):
249
# so that we can do things such as produce a diff image
250
# in get_diff_image
251
_, _, w, h = self.figure.bbox.bounds
252
+ w, h = int(w), int(h)
253
key = w, h, self.figure.dpi
254
try:
255
self._lastKey, self._renderer
0 commit comments