Skip to content

Shade color #2745

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

Closed
wants to merge 34 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
2834c09
NF - added new feature to colors called shade_color to lighten or dar…
dvreed77 Jan 19, 2014
c926ba5
NF - added new feature to colors called shade_color to lighten or dar…
dvreed77 Jan 19, 2014
d4233b8
NF - added new feature to colors called shade_color to lighten or dar…
dvreed77 May 16, 2015
eca57fe
NF - added new feature to colors called shade_color to lighten or dar…
dvreed77 May 16, 2015
3216669
using plt
Jul 11, 2015
90f63f8
pylab to plt
Jul 11, 2015
1ee2986
pylab to plt and np
Jul 11, 2015
0fa4b94
pylab to plt and np
Jul 11, 2015
1b72df1
pylab to plt and np
Jul 11, 2015
a0665f7
pylab to plt and np
Jul 11, 2015
8f2b84c
DOC: slightly update demo
tacaswell Jul 17, 2015
887e20d
DOC: whats_new for axes.labelpad
tacaswell Jul 17, 2015
188d7a1
DOC: protect against non-gui backends in demo
tacaswell Jul 17, 2015
b328cbb
pep8
Jul 17, 2015
5a5f458
pep8
Jul 17, 2015
b26a521
pep8
Jul 17, 2015
3720671
pep8
Jul 17, 2015
a7fa5d9
pep8
Jul 17, 2015
38215ef
pep8
Jul 17, 2015
0f726dc
Implement draw_idle
mdehoon Jul 17, 2015
0bbc091
Merge pull request #4731 from mdehoon/implementDrawIdle
tacaswell Jul 17, 2015
5cadac1
Merge pull request #4724 from tacaswell/doc_update_demo
jenshnielsen Jul 17, 2015
6e2ee31
Merge pull request #4739 from jkseppan/pdf-paint
efiring Jul 18, 2015
0a7af4e
Merge pull request #4726 from tacaswell/doc_axeslabelpad_doc
efiring Jul 18, 2015
a967158
Merge pull request #4654 from domspad/MEP12-on-annotation-demo2.py
jenshnielsen Jul 19, 2015
8dd9c29
Merge pull request #4663 from domspad/MEP12-on-axes_props.py
jenshnielsen Jul 19, 2015
d1d0122
Merge pull request #4657 from domspad/MEP12-on-anscombe.py
jenshnielsen Jul 19, 2015
b8d7e25
Merge pull request #4660 from domspad/MEP12-on-arrow_demo.py
jenshnielsen Jul 19, 2015
f37e6ef
Merge pull request #4664 from domspad/MEP12-on-axis_equal_demo.py
jenshnielsen Jul 19, 2015
708468b
NF - added new feature to colors called shade_color to lighten or dar…
dvreed77 Jan 19, 2014
1c70b15
NF - added new feature to colors called shade_color to lighten or dar…
dvreed77 Jan 19, 2014
badd1f8
NF - added new feature to colors called shade_color to lighten or dar…
dvreed77 May 16, 2015
49b9b25
NF - added new feature to colors called shade_color to lighten or dar…
dvreed77 May 16, 2015
913a3b4
merged changes
dvreed77 Jul 19, 2015
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
NF - added new feature to colors called shade_color to lighten or dar…
…ken a given color by a given percentage (altered CC to ColorConverter)
  • Loading branch information
dvreed77 committed Jan 19, 2014
commit c926ba5a24c7ceb8d5cbcd69a908d961fe5fd189
2 changes: 1 addition & 1 deletion lib/matplotlib/colors.py
Original file line number Diff line number Diff line change
Expand Up @@ -1505,7 +1505,7 @@ def shade_color(color, percent):

"""

cc = CC()
cc = ColorConverter()
Copy link
Member

Choose a reason for hiding this comment

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

From memory, isn't there a global instance of this that you can use? (colorConverter or something?)

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, mcolors.colorConverter


rgb = cc.to_rgb(color)

Expand Down