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("""
|
repositoryListQuery = Template("""
|
||||||
{
|
{
|
||||||
user(login: "$username") {
|
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
|
totalCount
|
||||||
edges {
|
edges {
|
||||||
node {
|
node {
|
||||||
|
|||||||
@@ -13,7 +13,6 @@ class BarGraph:
|
|||||||
self.yearly_data = yearly_data
|
self.yearly_data = yearly_data
|
||||||
|
|
||||||
def build_graph(self):
|
def build_graph(self):
|
||||||
print(self.yearly_data)
|
|
||||||
|
|
||||||
with open(os.path.join(os.path.dirname(__file__), 'colors.json')) as f:
|
with open(os.path.join(os.path.dirname(__file__), 'colors.json')) as f:
|
||||||
colors = json.load(f)
|
colors = json.load(f)
|
||||||
|
|||||||
Reference in New Issue
Block a user