Skip to content

Commit aedd1af

Browse files
some touchup and testing/experiments with secondary_y
1 parent c69ecc1 commit aedd1af

File tree

2 files changed

+21
-19
lines changed

2 files changed

+21
-19
lines changed

examples/addplot.ipynb

Lines changed: 16 additions & 14 deletions
Large diffs are not rendered by default.

src/mplfinance/plotting.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -388,13 +388,13 @@ def plot( data, **kwargs ):
388388
secondary_y = True
389389
elif ymlo < omrange['main']['lo'] or ymhi > omrange['main']['hi']:
390390
secondary_y = True
391-
if secondary_y:
392-
print('auto says USE secondary_y')
393-
else:
394-
print('auto says do NOT use secondary_y')
391+
# if secondary_y:
392+
# print('auto says USE secondary_y')
393+
# else:
394+
# print('auto says do NOT use secondary_y')
395395
else:
396396
secondary_y = apdict['secondary_y']
397-
print("apdict['secondary_y'] says secondary_y is",secondary_y)
397+
# print("apdict['secondary_y'] says secondary_y is",secondary_y)
398398

399399
if apdict['panel'] == 'lower':
400400
ax = ax4 if secondary_y else ax2

0 commit comments

Comments
 (0)