File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 2
2
import os
3
3
import pandas as pd
4
4
import os .path
5
+ import mplfinance as mpf
5
6
6
7
os .environ ['MPLBACKEND' ] = 'agg'
7
8
8
- print ('\n pd.__version__ =' ,pd .__version__ ) # for the record
9
+ print ('' )
10
+ print ('pd.__version__ =' ,pd .__version__ ) # for the record
11
+ print ('mpf.__version__ =' ,mpf .__version__ ) # for the record
12
+ print ('mpf.__file__ =' ,mpf .__file__ ) # for the record
13
+ print ('' )
9
14
10
15
infile = os .path .join ('examples' ,'data' ,'SPY_20110701_20120630_Bollinger.csv' )
11
16
df = pd .read_csv (infile ,index_col = 0 ,parse_dates = True )
Original file line number Diff line number Diff line change 6
6
from matplotlib .testing .compare import compare_images
7
7
8
8
print ('mpf.__version__ =' ,mpf .__version__ ) # for the record
9
+ print ('mpf.__file__ =' ,mpf .__file__ ) # for the record
9
10
print ("plt.rcParams['backend'] =" ,plt .rcParams ['backend' ]) # for the record
10
11
11
12
base = 'alines'
You can’t perform that action at this time.
0 commit comments