title: Python, module Mathplotlib
body: <p>Code:</p>
  <pre><code>import matplotlib.pyplot as plt
  import numpy as np
  from math import sin
  x = np.linspace(-10, 10, 1000)
  y = sin(x / 2) ** 2
  fig, ax = plt.subplots()
  ax.plot(x, y)
  plt.show()
  </code></pre>
  <p>Error: only size-1 arrays can be converted to Python scalars</p>