title: unable to plot in ubuntu terminal with plotly
body: <p>to summarize my problem it's that I want to create an plot of my data in Ubuntu terminal with plotly. I've been able to do this in codelabs with it as it allows interactive plots, however if I directly translate my code:</p>
  <pre><code>def plot_anomalies(forecasted):
      interval = alt.Chart(forecasted).mark_area(interpolate=&quot;basis&quot;, color = '#7FC97F').encode(
      x=alt.X('ds:T',  title ='date'),
      y='yhat_upper',
      y2='yhat_lower',
      tooltip=['ds', 'fact', 'yhat_lower', 'yhat_upper']
      ).interactive().properties(
          title='anomalies'
      )
  
      fact = alt.Chart(forecasted[forecasted.anomaly==0]).mark_circle(size=15, opacity=0.7, color = 'Black').encode(
          x='ds:T',
          y=alt.Y('fact', title='sales'),    
          tooltip=['ds', 'fact', 'yhat_lower', 'yhat_upper']
      ).interactive()
  
      anomalies = alt.Chart(forecasted[forecasted.anomaly!=0]).mark_circle(size=30, color = 'Red').encode(
          x='ds:T',
          y=alt.Y('fact', title='sales'),    
          tooltip=['ds', 'fact', 'yhat_lower', 'yhat_upper'],
          size = alt.Size( 'importance', legend=None)
      ).interactive()
  
      return alt.layer(interval, fact, anomalies)\
                .properties(width=870, height=450)\
                .configure_title(fontSize=20)
  </code></pre>
  <p>it doesn't work because it's interactive and I want to know if anyone could help me find a way to use a different method maybe with matplotlib where I could get a result similar to <a href="https://i.stack.imgur.com/vEfey.png" rel="nofollow noreferrer">this</a> but with methods that will work in ubuntu</p>