I just added support for non-time series in finplot. The original idea of finplot was to only support backtesting of trading algorithms based on time series, but as the user base grew I decided to accommodate some of the n00b day traders, especially as I saw things like this guy using matplotlib for the most elementary junk.
I created an example of how to use such things:
The first four plots are super-simple to create. This is the most basic incarnation:
The fifth and last plot shows spot-traded Bitcoin return averaged per month (over the last six years). I draw this plot using a heat map. It goes something like this:
The full example can be found here.
It wasn't all bad making these changes, as I was able to stabilize and generalize the code in a couple of places when doing so. Also nice to be able to reduce the tutorial code of CryptoZweed by around 85% while still maintaining the same functionality. That is a testament to exactly how good finplot's API is.
What's new?
The new functionality in finplot are bar charts and histograms. They differ from, for example, volume plots in that they are not linked when zooming and panning (compare histogram and the two topmost plots in the gif above). There are some small details such as hiding/showing the axes depending on what type of series we're showing, but I won't bore you with the details.
I feel very good about this. I think we're moving on version 1.0, and I've solved all the things I need myself, and it seems most of the things others need too. For some weird reason the package has had 2-3000 downloads per month for half a year now. I never knew there were so many traders out there. Hope they all are making cewl bots and getting rich! :D