Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in
Toggle navigation
F
fund_report
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
彭熊
fund_report
Commits
ecf92890
Commit
ecf92890
authored
Jan 22, 2021
by
赵杰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
贡献分解的颜色去掉前两个
parent
76825779
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
draw.py
app/utils/draw.py
+1
-1
No files found.
app/utils/draw.py
View file @
ecf92890
...
...
@@ -118,7 +118,7 @@ def draw_contribution_chart(xlabels, product_list, cumulative):
max_x_count
=
max
([
x
[
'data'
]
.
size
for
x
in
product_list
])
loc
=
np
.
arange
(
max_x_count
)
# the x locations for the groups
width
=
0.35
# the width of the bars: can also be len(x) sequence
color_list
=
[
'#
333333'
,
'#928C8C'
,
'#
AFAFAF'
,
'#D56666'
,
'#DE7A7A'
,
color_list
=
[
'#AFAFAF'
,
'#D56666'
,
'#DE7A7A'
,
'#ED9494'
,
'#F4A9A9'
,
'#FFC8C8'
,
'#DEA27A'
,
'#EFAF85'
,
'#FBBF98'
,
'#FFD2B5'
,
'#E1C277'
,
'#EBCD85'
,
'#FEDF96'
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment