Skip to content

Commit b251fa7

Browse files
remove comment block, and code clean up
1 parent c03147b commit b251fa7

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

src/mplfinance/_arg_validators.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
import matplotlib as mpl
88
import warnings
99

10+
1011
def _check_and_prepare_data(data, config):
1112
'''
1213
Check and Prepare the data input:
@@ -94,19 +95,15 @@ def _check_and_prepare_data(data, config):
9495

9596
return dates, opens, highs, lows, closes, volumes
9697

98+
9799
def _label_validator(label_value):
98100
''' Validates the input of label for the added plots.
99101
label_value may be a str or a list of str.
100102
'''
101103
if isinstance(label_value,str):
102104
return True
103105
return False
104-
# elif not isinstance(label_value,(tuple,list)):
105-
# return False
106-
# for label in label_value:
107-
# if not isinstance(label,str):
108-
# return False
109-
# return True
106+
110107

111108
def _get_valid_plot_types(plottype=None):
112109

0 commit comments

Comments
 (0)