RVC-Project / RVC-Project/Retrieval-based-Voice-Conversion-WebUI

3.10 update break seaborn

Open
#2,450 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
38.4k
Forks
5.3k
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running the Python example from the issue with pandas, matplotlib, seaborn, and the shown plt.show() call. Compare the matplotlib version that fails with 3.7.0, where the issue reports success, and inspect the PyCharm backend traceback. Done means the example displays without the reported tostring_rgb AttributeError, or the affected compatibility is clearly documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
matplotlib, pandas, python
Domain
data-visualization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.