@@ -707,15 +707,17 @@ def copy(self):
707707 'lines.linestyle' : '-' ,
708708 'lines.linewidth' : 1.5 ,
709709 'lines.markersize' : 6.0 ,
710- 'legend.borderaxespad' : 0 , # looks sleeker flush against edge
711- 'legend.borderpad' : 0.5 , # a bit more space
712- 'legend.columnspacing' : 1.5 , # more compact
710+ 'legend.borderaxespad' : 0 , # i.e. flush against edge
711+ 'legend.borderpad' : 0.5 , # a bit more roomy
712+ 'legend.columnspacing' : 1.5 , # a bit more compact (see handletextpad)
713713 'legend.edgecolor' : BLACK ,
714714 'legend.facecolor' : WHITE ,
715- 'legend.fancybox' : False , # looks modern without curvy box
715+ 'legend.fancybox' : False , # i.e. BboxStyle 'square' not 'round'
716716 'legend.fontsize' : SMALLSIZE ,
717717 'legend.framealpha' : FRAMEALPHA ,
718- 'legend.handletextpad' : 0.5 ,
718+ 'legend.handleheight' : 1.0 , # default is 0.7
719+ 'legend.handlelength' : 2.0 , # default is 2.0
720+ 'legend.handletextpad' : 0.5 , # a bit more compact (see columnspacing)
719721 'mathtext.default' : 'it' ,
720722 'mathtext.fontset' : 'custom' ,
721723 'mathtext.bf' : 'regular:bold' , # custom settings implemented above
@@ -725,11 +727,11 @@ def copy(self):
725727 'mathtext.sf' : 'regular' ,
726728 'mathtext.tt' : 'monospace' ,
727729 'patch.linewidth' : LINEWIDTH ,
728- 'savefig.bbox' : None , # use custom tight layout
729- 'savefig.directory' : '' , # current directory
730- 'savefig.dpi' : 1000 , # academic journal recommendations for raster line art
731- 'savefig.facecolor' : WHITE , # different from figure.facecolor
732- 'savefig.format' : 'pdf' , # most users use bitmap, but vector graphics are better
730+ 'savefig.bbox' : None , # do not use 'tight'
731+ 'savefig.directory' : '' , # use the working directory
732+ 'savefig.dpi' : 1000 , # use academic journal recommendation
733+ 'savefig.facecolor' : WHITE , # use white instead of 'auto'
734+ 'savefig.format' : 'pdf' , # use vector graphics
733735 'savefig.transparent' : False ,
734736 'xtick.color' : BLACK ,
735737 'xtick.direction' : TICKDIR ,
0 commit comments