johnowhitaker commited on
Commit
793922a
1 Parent(s): e063d7c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -102,6 +102,7 @@ if submitted:
102
  axs[0].hexbin(tweets['tweet_length'], tweets['sentiment']*1,
103
  gridsize=20, bins=12, cmap='inferno')
104
  axs[0].set_title('Tweet Sentiment and Length')
 
105
  axs[1].set_title('Tweet Sentiment vs Length')
106
  plt.setp(axs[:], xlabel='Tweet Length')
107
  plt.setp(axs[:], ylabel='Sentiment')
 
102
  axs[0].hexbin(tweets['tweet_length'], tweets['sentiment']*1,
103
  gridsize=20, bins=12, cmap='inferno')
104
  axs[0].set_title('Tweet Sentiment and Length')
105
+ axs[1].scatter(tweets['tweet_length'], tweets['sentiment'])
106
  axs[1].set_title('Tweet Sentiment vs Length')
107
  plt.setp(axs[:], xlabel='Tweet Length')
108
  plt.setp(axs[:], ylabel='Sentiment')