| 1 | initial version |
De lijst prices lijkt een aantal keer None te bevatten, waardoor er iets misgaat in list_plot (weet niet precies waarom). Als je deze eruit filtert, bijvoorbeeld door ze op nul te zetten,
prices = [p if p is not None else 0 for p in prices]
dan lukt het wel:
list_plot(prices)

Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.