{% extends "newbase.html" %}
{% load staticfiles %}
{% load rowerfilters %}

{% block title %}View Workout {% endblock %}

{% block main %}

<script src="https://cdn.pydata.org/bokeh/release/bokeh-1.0.4.min.js"></script>
<script async="true" type="text/javascript">
  Bokeh.set_log_level("info");
</script>

{{ interactiveplot |safe }}


<h1>Interactive Plot</h1>

<ul class="main-content">
  <li class="grid_4">

    {{ the_div|safe }}
  </li>
  <li class="grid_4">
    <p>
      <h2>Notes</h2>
      <ul>
	<li>
          Is your erg pace slower than you expected? This may be a sign of room for improvement regarding your technique. An alternative explanation is that your team mates are fatter than they told you! For example, put 80.0 kg if your four consists of 2 70kg guys and 2 90kg guys.
        </li>
	<li>
          In order to speed up the calculation, we are running the calculation only for every 10th datapoint, using interpolation in between. Some very fine pace shifts may disappear.
        </li>
	<li>
          While the wind and stream correction is fairly reliable, the OTW to OTE conversion sometimes throws errors. Those data points are omitted and replaced by interpolated values. We are sorry if this messed up some of your plots.
        </li>
	<li>
          Read more details about the way we calculate things <a href="/rowers/physics/">here</a>.
        </li>
      </ul>
    </p>
  </li>

</ul>

{% endblock %}

{% block sidebar %}
{% include 'menu_workout.html' %}
{% endblock %}
