Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit f45e9bc

Browse filesBrowse files
committed
Rounded corners on legend box
1 parent 4472125 commit f45e9bc
Copy full SHA for f45e9bc

File tree

Expand file treeCollapse file tree

2 files changed

+3
-3
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+3
-3
lines changed

‎lib/matplotlib/rcsetup.py

Copy file name to clipboardExpand all lines: lib/matplotlib/rcsetup.py
+1-1Lines 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

Copy file name to clipboardExpand all lines: matplotlibrc.template
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -382,8 +382,8 @@ backend : $TEMPLATE_BACKEND
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.