-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Legend default style change: smaller, no border #6424
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -388,33 +388,32 @@ backend : $TEMPLATE_BACKEND | |
|
||
|
||
### GRIDS | ||
#grid.color : b0b0b0 # grid color | ||
#grid.color : b0b0b0 # grid color | ||
#grid.linestyle : - # solid | ||
#grid.linewidth : 1.0 # in points | ||
#grid.alpha : 1.0 # transparency, between 0.0 and 1.0 | ||
|
||
### Legend | ||
#legend.fancybox : True # if True, use a rounded box for the | ||
# legend, else a rectangle | ||
#legend.loc : best | ||
#legend.isaxes : True | ||
#legend.numpoints : 1 # the number of points in the legend line | ||
#legend.fontsize : large | ||
#legend.borderpad : 0.5 # border whitespace in fontsize units | ||
#legend.markerscale : 1.0 # the relative size of legend markers vs. original | ||
# the following dimensions are in axes coords | ||
#legend.labelspacing : 0.5 # the vertical space between the legend entries in fraction of fontsize | ||
#legend.handlelength : 2. # the length of the legend lines in fraction of fontsize | ||
#legend.handleheight : 0.7 # the height of the legend handle in fraction of fontsize | ||
#legend.handletextpad : 0.8 # the space between the legend line and legend text in fraction of fontsize | ||
#legend.borderaxespad : 0.5 # the border between the axes and legend edge in fraction of fontsize | ||
#legend.columnspacing : 2. # the border between the axes and legend edge in fraction of fontsize | ||
#legend.frameon : True # whether or not to draw a frame around legend | ||
#legend.framealpha : 0.8 # legend frame transparency | ||
#legend.facecolor : inherit # inherit from axes.facecolor; or color spec | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. is this not a thing anymore? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Correct. I don't know how long it has been gone, but it is inactive, and marked as such in rcsetup. It would make no sense for it to be an rcParam; it is entirely internal to legend. It is a flag to tell whether it is a figure legend or an axes legend. |
||
#legend.edgecolor : none | ||
#legend.fancybox : True # if True, use a rounded box for the | ||
# legend, else a rectangle | ||
#legend.shadow : False | ||
#legend.frameon : True # whether or not to draw a frame around legend | ||
#legend.framealpha : None # opacity of of legend frame | ||
#legend.scatterpoints : 3 # number of scatter points | ||
#legend.facecolor : inherit | ||
#legend.edgecolor : k | ||
#legend.numpoints : 1 # the number of marker points in the legend line | ||
#legend.scatterpoints : 1 # number of scatter points | ||
#legend.markerscale : 1.0 # the relative size of legend markers vs. original | ||
#legend.fontsize : medium | ||
# Dimensions as fraction of fontsize: | ||
#legend.borderpad : 0.4 # border whitespace | ||
#legend.labelspacing : 0.5 # the vertical space between the legend entries | ||
#legend.handlelength : 2.0 # the length of the legend lines | ||
#legend.handleheight : 0.7 # the height of the legend handle | ||
#legend.handletextpad : 0.8 # the space between the legend line and legend text | ||
#legend.borderaxespad : 0.5 # the border between the axes and legend edge | ||
#legend.columnspacing : 2.0 # column separation | ||
|
||
### FIGURE | ||
# See http://matplotlib.org/api/figure_api.html#matplotlib.figure.Figure | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't need 2.6 support, right? You could use a set literal here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Correct.