Skip to content

Commit c8ec323

Browse files
committed
Rounded corners on legend box
1 parent d972466 commit c8ec323

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/matplotlib/rcsetup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1028,7 +1028,7 @@ def validate_hist_bins(s):
10281028
'date.autoformatter.second': ['%H:%M:%S.%f', six.text_type],
10291029

10301030
#legend properties
1031-
'legend.fancybox': [False, validate_bool],
1031+
'legend.fancybox': [True, validate_bool],
10321032

10331033
# at some point, legend.loc should be changed to 'best'
10341034
'legend.loc': ['best', validate_legend_loc],

matplotlibrc.template

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -382,8 +382,8 @@ backend : %(backend)s
382382
#grid.alpha : 1.0 # transparency, between 0.0 and 1.0
383383

384384
### Legend
385-
#legend.fancybox : False # if True, use a rounded box for the
386-
# legend, else a rectangle
385+
#legend.fancybox : True # if True, use a rounded box for the
386+
# legend, else a rectangle
387387
#legend.loc : best
388388
#legend.isaxes : True
389389
#legend.numpoints : 1 # the number of points in the legend line

0 commit comments

Comments
 (0)