I was trying to replicate the results in the notebook and I received the above TypeError. Using py3. Any suggestions regarding that ?
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-13-a593e86a1f96> in <module>()
----> 1 visualize_runtimes(multithreading(download, urls, 1), "Single Thread")
<ipython-input-1-a949dc10fbff> in visualize_runtimes(results, title)
1 def visualize_runtimes(results, title):
2 start, stop = np.array(results).T
----> 3 plt.barh(range(len(start), stop-start, left = start))
4 plt.grid(axis='x')
5 plt.ylabel('Tasks')
TypeError: range() does not take keyword arguments