Skip to content

Commit 46581d9

Browse files
committed
Merge remote-tracking branch 'origin/v1.1.x'
2 parents 8b1e5b8 + 502974c commit 46581d9

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

lib/matplotlib/backends/backend_pdf.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,11 @@ def newPage(self, width, height):
476476
'Parent': self.pagesObject,
477477
'Resources': self.resourceObject,
478478
'MediaBox': [ 0, 0, 72*width, 72*height ],
479-
'Contents': contentObject }
479+
'Contents': contentObject,
480+
'Group': {'Type': Name('Group'),
481+
'S': Name('Transparency'),
482+
'CS': Name('DeviceRGB')}
483+
}
480484
pageObject = self.reserveObject('page')
481485
self.writeObject(pageObject, thePage)
482486
self.pageList.append(pageObject)

0 commit comments

Comments
 (0)