8000 Fix mixed mode renderer so it has width and height properties. · matplotlib/matplotlib@34c755c · GitHub
[go: up one dir, main page]

Skip to content

Commit 34c755c

Browse files
committed
Fix mixed mode renderer so it has width and height properties.
1 parent 28c13f4 commit 34c755c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

lib/matplotlib/backends/backend_mixed.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,3 +142,11 @@ def stop_rasterizing(self):
142142
self._bbox_inches_restore,
143143
self._figdpi)
144144
self._bbox_inches_restore = r
145+
146+
@property
147+
def width(self):
148+
return _width
149+
150+
@property
151+
def height(self):
152+
return _height

0 commit comments

Comments
 (0)
0