Skip to content

Instantly share code, notes, and snippets.

@amankharwal

amankharwal/instagram.py Secret

Created Jan 26, 2021
Embed
What would you like to do?
def PlotData(features):
plt.figure(figsize= (20, 10))
pltNum = 1
for mem in features:
plt.subplot(1, 2 , pltNum)
plt.style.use('seaborn-whitegrid')
plt.grid(True)
plt.title('Regplot Plot for '+ str(mem))
sns.regplot(data = data, x = mem, y = 'Likes' , color = 'green')
pltNum += 1
plt.show()
PlotData(['Followers', 'Time since posted'])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment