<jupyter_start><jupyter_text>--- Using this dataframe, we can of course plot a basic ohlc or candlestick plot:<jupyter_code>df = idf.loc['2011-08-15':'2011-11-30',:]
df = idf.loc['2011-07-01':'2011-12-30',:]
import mplfinance as mpf

mpf.plot(df,volume=True,style='sas')#,adjust_widths=False)
idf = pd.read_csv('issue#142_data.csv',index_col=0,parse_dates=True)
#df = df.loc['2012-01-01':,:]
idf.shape
idf.head(3)
idf.tail(3)
#idf
mpf.plot(idf,volume=True,style='sas')#,adjust_widths=False)<jupyter_output><empty_output><jupyter_text>--- I have confirmed on my own machine that ` sudo pip install --upgrade matplotlib ` fixes the problem.--- This Issue142 is the same problem that was reported in Issue77<jupyter_code>#apdata = [float('nan')]*len(idf['High'])
#apdata[3] = idf['High'].values[3]

apdata = idf['High'].values

ap = mpf.make_addplot(apdata,type='scatter',markersize=25)#,secondary_y=True)
print('ap=',ap)


mpf.plot(idf,volume=True,style='sas',addplot=ap)<jupyter_output>ap= {'data': array([2.118e-05, 2.119e-05, 2.119e-05, 2.133e-05, 2.125e-05, 2.122e-05,
       2.132e-05, 2.132e-05, 2.136e-05, 2.131e-05, 2.133e-05, 2.133e-05,
       2.132e-05, 2.137e-05, 2.126e-05, 2.145e-05, 2.151e-05, 2.147e-05,
       2.146e-05, 2.146e-05, 2.146e-05, 2.152e-05, 2.163e-05, 2.168e-05,
       2.166e-05, 2.152e-05, 2.145e-05, 2.141e-05, 2.157e-05, 2.160e-05,
       2.150e-05, 2.143e-05, 2.134e-05, 2.137e-05, 2.135e-05, 2.127e-05,
       2.131e-05, 2.138e-05, 2.149e-05, 2.150e-05, 2.156e-05]), 'scatter': False, 'type': 'scatter', 'panel': 0, 'marker': 'o', 'markersize': 25, 'color': None, 'linestyle': None, 'width': 0.8, 'bottom': 0, 'alpha': 1, 'secondary_y': 'auto'}
{'fraction_non_alphanumeric': 0.2182468694096601, 'fraction_numerical': 0.1836612999403697, 'mean_word_length': 4.4480519480519485, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 8, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '2', 'dir': 'jupyter-structured-clean-dedup', 'id': '39056', 'license': 'Apache-2.0', 'n_tokens_mistral': 981, 'n_tokens_neox': 771, 'n_words': 132, 'path': 'examples/scratch_pad/issues/issue#142.ipynb', 'repo_name': 'fadeawaylove/stock-trade-system', 'size': '1677'}