You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import pandas as pd
import matplotlib.pyplot as plt
import seaborn as sns
sns.set(style="whitegrid")
cancer_data_path = "cancer.csv"
df = pd.read_csv(cancer_data_path)
sns.lineplot(data=df['Id'])
plt.show()
Traceback (most recent call last):
File "C:\Users\BoyceCecil\Desktop\cancer_data\main.py", line 12, in <module>
plt.show()
File "C:\Users\BoyceCecil\Desktop\cancer_data\venv\lib\site-packages\matplotlib\pyplot.py", line 614, in show
return _get_backend_mod().show(*args, **kwargs)
File "C:\Program Files\JetBrains\PyCharm 2023.1.3\plugins\python\helpers\pycharm_matplotlib_backend\backend_interagg.py", line 29, in __call__
manager.show(**kwargs)
File "C:\Program Files\JetBrains\PyCharm 2023.1.3\plugins\python\helpers\pycharm_matplotlib_backend\backend_interagg.py", line 112, in show
self.canvas.show()
File "C:\Program Files\JetBrains\PyCharm 2023.1.3\plugins\python\helpers\pycharm_matplotlib_backend\backend_interagg.py", line 73, in show
buffer = self.tostring_rgb()
AttributeError: 'FigureCanvasInterAgg' object has no attribute 'tostring_rgb'. Did you mean: 'tostring_argb'?
When I downgrade the matplotlib to 3.7.0 the issue is resolved.
The text was updated successfully, but these errors were encountered:
When I downgrade the matplotlib to 3.7.0 the issue is resolved.
The text was updated successfully, but these errors were encountered: