mparker2 / seaborn_sinaplot

A python implementation of the sinaplot using matplotlib and seaborn

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

import error

okumuralab opened this issue · comments

It looks like the current version of seaborn doesn't have _ViolinPlotter.

----> 1 import sinaplot

File ~/Library/Python/3.12/lib/python/site-packages/sinaplot/__init__.py:1
----> 1 from .sinaplot import sinaplot

File ~/Library/Python/3.12/lib/python/site-packages/sinaplot/sinaplot.py:2
      1 import matplotlib.pyplot as plt
----> 2 from seaborn.categorical import _ViolinPlotter
      3 import numpy as np
      6 class _SinaPlotter(_ViolinPlotter):

ImportError: cannot import name '_ViolinPlotter' from 'seaborn.categorical' (~/Library/Python/3.12/lib/python/site-packages/seaborn/categorical.py)