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

Skip to content

Commit 8f6706d

Browse files
committed
Fix typo
1 parent 60161fa commit 8f6706d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/matplotlib/backends/backend_pdf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1319,7 +1319,7 @@ def _writeImg(self, data, height, width, grayscale, id, smask=None):
13191319
else 'DeviceRGB'),
13201320
'BitsPerComponent': 8}
13211321
if smask:
1322-
obj['Smask'] = smask
1322+
obj['SMask'] = smask
13231323
if rcParams['pdf.compression']:
13241324
png = {'Predictor': 10,
13251325
'Colors': 1 if grayscale else 3,

0 commit comments

Comments
 (0)