Bargraph working properly

This commit is contained in:
prabhatdev
2020-08-20 11:48:50 +05:30
parent 7be4458e90
commit fe4b1686a8
2 changed files with 2 additions and 3 deletions

View File

@@ -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 {

View File

@@ -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 = []