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

Style changes omnibus PR #5774

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

Merged
merged 33 commits into from
Feb 8, 2016
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
14281fd
Change default image interpolation to nearest
jenshnielsen Jul 10, 2015
76c70be
Change docstring to reflect new default interpolation
jenshnielsen Jul 10, 2015
bba003f
fix typo
jenshnielsen Nov 6, 2015
86b7a59
fix #4854: set default numpoints of legend entries to 1
gauteh Sep 24, 2015
d2f6bea
Fix #5419: Set default figure background to white
mdboom Dec 14, 2015
87ba8b0
Don't plot errorbar caps by default
mdboom Dec 14, 2015
38d4e31
Grey solid tick lines
mdboom Nov 8, 2015
5317d35
API: use 'best' for default legend location
tacaswell Nov 9, 2015
5695389
Outward ticks (Fix #4502)
mdboom Nov 16, 2015
3e7471a
Use "new" blue by default
mdboom Nov 16, 2015
28c632f
Change default color map (Fix #875)
mdboom Nov 16, 2015
4472125
Use Vega collection10 colors instead
mdboom Nov 17, 2015
f45e9bc
Rounded corners on legend box
mdboom Dec 14, 2015
4513182
Fix #4700: Use overlay by default
mdboom Nov 17, 2015
09b29d8
Simplify examples to use defaults more often
mdboom Nov 25, 2015
3abcb95
Add what's new
mdboom Dec 14, 2015
f2ac1bb
Document Xtick.minor.visible
mdboom Dec 14, 2015
318a044
Use image.resample == True
mdboom Dec 31, 2015
417db2f
Update test images
mdboom Dec 31, 2015
82558ee
Revert some changes caught by @QuLogic in review
mdboom Jan 21, 2016
c5864ce
Fix typo
mdboom Jan 22, 2016
30b4341
Update test images
mdboom Dec 31, 2015
0f4e3a6
Improve what's new
mdboom Jan 25, 2016
c44bd3d
Fix formatting
mdboom Jan 25, 2016
fa4c56e
Change figure background for real
mdboom Jan 25, 2016
caa711b
More detail in what's new
mdboom Jan 26, 2016
c2580a5
Remove info about Blues colormap -- we're punting
mdboom Jan 26, 2016
f0e98fa
USe tight_layout rather than hardcoded space
mdboom Jan 26, 2016
7718b15
Don't use jet
mdboom Jan 26, 2016
0aae0f0
Don't hardcode linewidth
mdboom Jan 26, 2016
f21d5cf
Fix comment
mdboom Jan 26, 2016
31f28bc
Fix comment
mdboom Jan 26, 2016
b394ae7
Add missing test file
mdboom Jan 27, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix #4854: set default numpoints of legend entries to 1
  • Loading branch information
gauteh authored and mdboom committed Jan 25, 2016
commit 86b7a590a8b2db307de7b67dec9c352a0639dac5
2 changes: 1 addition & 1 deletion 2 lib/matplotlib/mpl-data/stylelib/classic.mplstyle
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ legend.fancybox : False # if True, use a rounded box for the
# legend, else a rectangle
legend.loc : upper right
legend.isaxes : True # this option is internally ignored
legend.numpoints : 2 # the number of points in the legend line
legend.numpoints : 1 # the number of points in the legend line
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The classic style shouldn't be changing, right?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch.

legend.fontsize : large
legend.borderpad : 0.4 # border whitespace in fontsize units
legend.markerscale : 1.0 # the relative size of legend markers vs. original
Expand Down
2 changes: 1 addition & 1 deletion 2 lib/matplotlib/rcsetup.py
Original file line number Diff line number Diff line change
Expand Up @@ -1033,7 +1033,7 @@ def validate_hist_bins(s):
'legend.isaxes': [True, validate_bool],

# the number of points in the legend line
'legend.numpoints': [2, validate_int],
'legend.numpoints': [1, validate_int],
# the number of points in the legend line for scatter
'legend.scatterpoints': [3, validate_int],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this also going to change (to go along with numpoints), or is that undecided?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, I thought this is what was meant by changing the number of points in the legend.

'legend.fontsize': ['large', validate_fontsize],
Expand Down
Binary file modified BIN +92 Bytes (100%) lib/matplotlib/tests/baseline_images/test_axes/markevery.pdf
Binary file not shown.
Binary file modified BIN -58 Bytes (100%) lib/matplotlib/tests/baseline_images/test_axes/markevery.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
620 changes: 308 additions & 312 deletions 620 lib/matplotlib/tests/baseline_images/test_axes/markevery.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified BIN -184 Bytes (99%) lib/matplotlib/tests/baseline_images/test_axes/markevery_line.pdf
Binary file not shown.
Binary file modified BIN -40 Bytes (100%) lib/matplotlib/tests/baseline_images/test_axes/markevery_line.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
644 changes: 320 additions & 324 deletions 644 lib/matplotlib/tests/baseline_images/test_axes/markevery_line.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Morty Proxy This is a proxified and sanitized view of the page, visit original site.