Reputation: 31
I am using Pandas dataframe to manipulate a financial time series consists of closing prices and time. I would like to display the results in Point and Figure chart of Xs and Os. However, I can't find any visualization package in Python to do so.
Does anyone have experience in plotting Point and Figure charts with Python?
Thanks in advance.
Upvotes: 3
Views: 1687
Reputation: 225
I am quite late to the party but there is a package called mplfinance.
pip install --upgrade mplfinance
import mplfinance as mpf
#df is the dataframe
mpf.plot(df,type='pnf')
Upvotes: 2
Reputation: 14689
Pandas has pandas.DataFrame.plot that enables to plot your dataframe. You can find the documentation here:
The pandas doc provides an excellent tutorial on visualization of pandas dataframe and series in this link:
Upvotes: 0