Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f27ffd1

Browse files
committed
BUG : restore allow_rasterization on PolyCollection
The was accidentally removed as part of b8726d0 Closes matplotlib#3299
1 parent f2912e5 commit f27ffd1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/matplotlib/collections.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -745,6 +745,7 @@ def set_sizes(self, sizes, dpi=72.0):
745745
self._transforms[:, 1, 1] = scale
746746
self._transforms[:, 2, 2] = 1.0
747747

748+
@allow_rasterization
748749
def draw(self, renderer):
749750
self.set_sizes(self._sizes, self.figure.dpi)
750751
Collection.draw(self, renderer)

0 commit comments

Comments
 (0)