pmorissette / ffn

ffn - a financial function library for Python
pmorissette.github.io/ffn
MIT License
2.03k stars 300 forks source link

The 'warn' parameter of use() is deprecated since Matplotlib 3.1 and will be removed in 3.3. #110

Closed MatteoSid closed 3 years ago

MatteoSid commented 3 years ago

When I import fan I have this error. I've tried to update fun.

`/opt/anaconda3/lib/python3.8/site-packages/ffn/core.py:27: MatplotlibDeprecationWarning:

The 'warn' parameter of use() is deprecated since Matplotlib 3.1 and will be removed in 3.3. If any parameter follows 'warn', they should be pass as keyword, not positionally.`

timkpaine commented 3 years ago

Is this fixed by https://github.com/pmorissette/ffn/pull/104/files

MatteoSid commented 3 years ago

Is this fixed by https://github.com/pmorissette/ffn/pull/104/files

I don't know how to fix, if I update MatPlotLib to the v3.3.3 I can't use ffn

timkpaine commented 3 years ago

try ffn off master

MatteoSid commented 3 years ago

@timkpaine Thank you but I don't know what 'fun off master' is and how to use it. 🤔

timkpaine commented 3 years ago

build and install ffn using this repo.

This is fixed in #104

MatteoSid commented 3 years ago

I'm really sorry but I don't know what "build and install ffn using this repo" means. I installed fan with pip install ffn but I can't use it with mpl 3.3.3 so I need to downgrade it to 3.2.0 but I have errors or warnings. :/

timkpaine commented 3 years ago

Google how to install a project from GitHub, there are plenty of references available.