@@ -1146,7 +1146,7 @@ def _validate_linestyle(ls):
1146
1146
1147
1147
'image.aspect' : ['equal' , validate_aspect ], # equal, auto, a number
1148
1148
'image.interpolation' : ['nearest' , validate_string ],
1149
- 'image.cmap' : ['viridis' , validate_string ], # one of gray, jet, etc
1149
+ 'image.cmap' : ['viridis' , validate_string ], # gray, jet, etc.
1150
1150
'image.lut' : [256 , validate_int ], # lookup table
1151
1151
'image.origin' : ['upper' ,
1152
1152
ValidateInStrings ('image.origin' , ['upper' , 'lower' ])],
@@ -1317,13 +1317,11 @@ def _validate_linestyle(ls):
1317
1317
'ytick.direction' : ['out' , validate_string ], # direction of yticks
1318
1318
'ytick.alignment' : ["center_baseline" , _validate_alignment ],
1319
1319
1320
-
1321
1320
'grid.color' : ['#b0b0b0' , validate_color ], # grid color
1322
1321
'grid.linestyle' : ['-' , _validate_linestyle ], # solid
1323
1322
'grid.linewidth' : [0.8 , validate_float ], # in points
1324
1323
'grid.alpha' : [1.0 , validate_float ],
1325
1324
1326
-
1327
1325
## figure props
1328
1326
# figure title
1329
1327
'figure.titlesize' : ['large' , validate_fontsize ],
@@ -1369,8 +1367,7 @@ def _validate_linestyle(ls):
1369
1367
'savefig.facecolor' : ['white' , validate_color ],
1370
1368
'savefig.edgecolor' : ['white' , validate_color ],
1371
1369
'savefig.frameon' : [True , validate_bool ],
1372
- 'savefig.orientation' : ['portrait' , validate_orientation ], # edgecolor;
1373
- #white
1370
+ 'savefig.orientation' : ['portrait' , validate_orientation ],
1374
1371
'savefig.jpeg_quality' : [95 , validate_int ],
1375
1372
# value checked by backend at runtime
1376
1373
'savefig.format' : ['png' , update_savefig_format ],
@@ -1386,7 +1383,7 @@ def _validate_linestyle(ls):
1386
1383
1387
1384
# Set the papersize/type
1388
1385
'ps.papersize' : ['letter' , validate_ps_papersize ],
1389
- 'ps.useafm' : [False , validate_bool ], # Set PYTHONINSPECT
1386
+ 'ps.useafm' : [False , validate_bool ],
1390
1387
# use ghostscript or xpdf to distill ps output
1391
1388
'ps.usedistiller' : [False , validate_ps_distiller ],
1392
1389
'ps.distiller.res' : [6000 , validate_int ], # dpi
0 commit comments