title: XPlot trying to visualize data
body: <p>I am having a really hard time trying to visualize some data using f#. I am trying to achieve this on Linux environment using <code>jupyter notebooks</code> that I am running on localhost. I am following <a href="https://medium.com/luteceo-software-chemistry/statistical-analysis-using-f-and-jupyter-notebooks-2e2f31ee4cc1" rel="nofollow noreferrer">this article</a>.
  Everything seems to be fine, I managed to load all the needed script files, such as <code>MathNet.Numerics</code> and <code>XPlot</code>. I don't get any errors, my terminal is fine as well, kernel is in place. I wonder why am I not getting any graph reprisentation after I run my code?</p>
  
  <p><a href="https://i.stack.imgur.com/YAA39.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/YAA39.png" alt="It only says that I get back Xplot.Plotly.PlotlyChart"></a></p>
  
  <p>It only says that I get back <code>Xplot.Plotly.PlotlyChart</code>, what about the actual graph? I am not sure if this would be enough to help me out, if not, let me know and will fill in other information. I tried different browsers as well, didn't help.</p>
  
  <p>Actual code:</p>
  
  <pre><code>#load @"&lt;project-root&gt;/.paket/load/net45/MathNet.Numerics.fsx"
  #load @"&lt;project-root&gt;/.paket/load/net45/MathNet.Numerics.FSharp.fsx"
  #load @"&lt;project-root&gt;/.paket/load/net45/XPlot.Plotly.fsx"
  
  
  open System
  open System.Linq
  open MathNet.Numerics.Distributions
  open MathNet.Numerics.LinearAlgebra
  open XPlot.Plotly
  
  let n = 40
  let nbsim = 1000
  let lambda = 0.2
  let randomSeed = 1111
  
  let exponential = Exponential.Samples(new Random(randomSeed), lambda) |&gt; Seq.take (n* nbsim) |&gt; List.ofSeq
  
  let m = Matrix&lt;float&gt;.Build.DenseOfRowMajor(nbsim, n, exponential)
  
  let means = m.RowSums() / (float n)
  means.Average()
  
  let historyTrace = 
    Histogram(
      x = means,
      xbins = 
        Xbins(
          start = 2.8,
          ``end`` = 7.75,
          size = 0.08
        ),
      marker =
        Marker(
          color = "yellow",
          line =
            Line(
              color = "grey",
              width = 1
            )
        ),
      opacity = 0.75,
      name = "Exponental distribution"      
    ) :&gt; Trace
  
  let meanTrace = 
    Scatter(
      x = [5; 5],
      y = [0; 60],
      name = "Theorical mean"
    ) :&gt; Trace
  
  // Or plain historyTrace below
  [historyTrace; meanTrace]
  |&gt; Chart.Plot
  |&gt; Chart.WithXTitle("Means")
  |&gt; Chart.WithYTitle("Frequency")
  |&gt; Chart.WithTitle("Distribution of 1000 means of exponential distribution")
  </code></pre>
  
  <p>Please note that <code>#load</code> statements include <code>&lt;project-root&gt;</code> placeholder. I am using Paket to generate scripts for <code>#load</code>.</p>