Closed karenx8 closed 2 years ago
Can you please tell me the version of python and matplotlib that you are using? Run the following code in your python interpreter:
>>> import fastf1
>>> fastf1.__version__
and
>>> import matplotlib
>>> matplotlib.__version__
Can you also please give me some more info on the python version you are using and your operating system?
Can you please tell me the version of python and matplotlib that you are using? Run the following code in your python interpreter:
>>> import fastf1 >>> fastf1.__version__
and
>>> import matplotlib >>> matplotlib.__version__
Can you also please give me some more info on the python version you are using and your operating system?
Hello so I did run that code as you said and this is what I got back for fast1 version: '2.2.8' and for the matplotlib I got '3.3.2'
You are using anaconda on linux, right?
No, I am using anaconda on a mac
Ahh, ok. I'll see if I can reproduce the problem. I don't have a mac to test on. So, let's hope that's not the cause.
@karenx8 so the problem is the version of matplotlib that you are using. If you can update matplotlib, the issue should be gone.
Alternatively, you can call plotting.setup_mpl
with misc_mpl_mods=False
. You won't get the background grid that is shown in the examples then.
I still need to look at this further until I can decide, what a permanet solution for this will be.
I've not made a more strict requirement for matplotlib version 3.3.3 or newer. Everything else would result in hacky version dependent ways to work around api changes and regressions in matplotlib.
Describe the issue:
I have managed to get all my code working except for displaying the plot graph itself, I used the code displayed above. But I get an error each time that I will provide below. Please help when possible.
Reproduce the code example:
Error message: