Skip to content

Commit

Permalink
Change savefig.dpi and figure.dpi defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
jmehne committed Dec 10, 2015
1 parent 02674ad commit 29b99cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/matplotlib/rcsetup.py
Expand Up @@ -1086,7 +1086,7 @@ def validate_cycler(s):

# figure size in inches: width by height
'figure.figsize': [[8.0, 6.0], validate_nseq_float(2)],
'figure.dpi': [80, validate_float], # DPI
'figure.dpi': [100, validate_float], # DPI
'figure.facecolor': ['0.75', validate_color], # facecolor; scalar gray
'figure.edgecolor': ['w', validate_color], # edgecolor; white
'figure.frameon': [True, validate_bool],
Expand All @@ -1107,7 +1107,7 @@ def validate_cycler(s):
closedmax=False)],

## Saving figure's properties
'savefig.dpi': [100, validate_dpi], # DPI
'savefig.dpi': ['figure', validate_dpi], # DPI
'savefig.facecolor': ['w', validate_color], # facecolor; white
'savefig.edgecolor': ['w', validate_color], # edgecolor; white
'savefig.frameon': [True, validate_bool],
Expand Down

0 comments on commit 29b99cc

Please sign in to comment.