Replies: 2 comments
-
|
You can check my last reply on github issue 103 In short, its a dependency conflict. It is recommended to setup a virtual env (see link below) and install dependencies there. If you have other python projects using different versions of the dependencies it can cause such issues. see https://python.land/virtual-environments/virtualenv#How_to_create_a_Python_venv Try and let me know if the issue persists. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
It worked, thnx |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When I choose 6) [TRNG] Triangles (Symetrical, Ascending, Descending), I get an error.
#################################
Uncaught Exception
Traceback (most recent call last):
File "C:\Users\ICT\Desktop\Python\stock-pattern\src\init.py", line 680, in
plotter.plot()
File "C:\Users\ICT\Desktop\Python\stock-pattern\src\Plotter.py", line 155, in plot
self.fig, axs = mpf.plot(df, **self.plot_args)
File "C:\Users\ICT\AppData\Local\Programs\Python\Python310\lib\site-packages\mplfinance\plotting.py", line 659, in plot
line_collections.append(_construct_aline_collections(config['alines'], dtix))
File "C:\Users\ICT\AppData\Local\Programs\Python\Python310\lib\site-packages\mplfinance_utils.py", line 999, in _construct_aline_collections
aconfig = _process_kwargs(alines, _valid_lines_kwargs())
File "C:\Users\ICT\AppData\Local\Programs\Python\Python310\lib\site-packages\mplfinance_arg_validators.py", line 343, in _process_kwargs
valid = vkwargs[key]'Validator'
File "C:\Users\ICT\AppData\Local\Programs\Python\Python310\lib\site-packages\mplfinance_utils.py", line 521, in
or mcolors.is_color_like(value)
File "C:\Users\ICT\AppData\Local\Programs\Python\Python310\lib\site-packages\matplotlib\colors.py", line 227, in is_color_like
to_rgba(c)
File "C:\Users\ICT\AppData\Local\Programs\Python\Python310\lib\site-packages\matplotlib\colors.py", line 302, in to_rgba
rgba = _to_rgba_no_colorcycle(c, alpha)
File "C:\Users\ICT\AppData\Local\Programs\Python\Python310\lib\site-packages\matplotlib\colors.py", line 326, in _to_rgba_no_colorcycle
if alpha is not None and not 0 <= alpha <= 1:
TypeError: '<=' not supported between instances of 'int' and 'str'
#################################
Beta Was this translation helpful? Give feedback.
All reactions