You've already forked wakapi-readme-stats
Bargraph working properly
This commit is contained in:
2
main.py
2
main.py
@@ -104,7 +104,7 @@ def run_v3_api(query):
|
||||
repositoryListQuery = Template("""
|
||||
{
|
||||
user(login: "$username") {
|
||||
repositories(orderBy: {field: CREATED_AT, direction: ASC}, last: 10, affiliations: [OWNER, COLLABORATOR, ORGANIZATION_MEMBER], isFork: false) {
|
||||
repositories(orderBy: {field: CREATED_AT, direction: ASC}, last: 100, affiliations: [OWNER, COLLABORATOR, ORGANIZATION_MEMBER], isFork: false) {
|
||||
totalCount
|
||||
edges {
|
||||
node {
|
||||
|
||||
@@ -13,8 +13,7 @@ class BarGraph:
|
||||
self.yearly_data = yearly_data
|
||||
|
||||
def build_graph(self):
|
||||
print(self.yearly_data)
|
||||
|
||||
|
||||
with open(os.path.join(os.path.dirname(__file__), 'colors.json')) as f:
|
||||
colors = json.load(f)
|
||||
allColorsValues = []
|
||||
|
||||
Reference in New Issue
Block a user