Matplotlib Tutorial 18 - annotating last price to edge of matplotlib graph example
Channel:
Subscribers:
1,410,000
Published on ● Video Link: https://www.youtube.com/watch?v=FPkHecI3y_4
In this Matplotlib tutorial, we're going to show an example of how we can track the last price of a stock, by annotating it to the right side of the axis like a lot of charting applications will do.
While people like to see historical prices in their live graphs, they also want to see the most recent price. What most applications do, is the annotate the last price at the y-axis height of the price, and then kind of highlight it and move it around a bit in a box of sorts as price changes. Using our recently-learned annotation tutorial, we can do this along with adding a bbox.
sample code: http://pythonprogramming.net
http://hkinsley.com
https://twitter.com/sentdex
http://sentdex.com
http://seaofbtc.com
Other Videos By sentdex
Tags:
Programming Language (Software Genre)
Matplotlib (Software)
Python (Programming Language)
Tutorial (Media Genre)
last price
stock
chart
graph