This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from github import Github | |
g_cred = Github("<Paste Your Token Here>") | |
f_repo = input("Enter repository name to see its stars (eg. user/repo): ") | |
repo = g_cred.get_repo(f_repo) | |
print(repo.stargazers_count) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import matplotlib.pyplot as plt | |
import numpy as np | |
x = np.linspace(-np.pi,np.pi,100) | |
y = np.sin(x) | |
fig = plt.figure() | |
ax = fig.add_subplot(1, 1, 1) | |
ax.spines['left'].set_position('center') | |
ax.spines['bottom'].set_position('center') | |
ax.spines['right'].set_color('none') | |
ax.spines['top'].set_color('none') |
OlderNewer