Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PairGrid doesnt support adding Seaborn plots #22

Open
taranraj123 opened this issue Sep 29, 2020 · 0 comments
Open

PairGrid doesnt support adding Seaborn plots #22

taranraj123 opened this issue Sep 29, 2020 · 0 comments

Comments

@taranraj123
Copy link

taranraj123 commented Sep 29, 2020

Doing the following,

using Pandas
using Seaborn

df = Pandas.DataFrame(Dict("a" => [12,3,14,8,7,9], "b"=> [120,33,714,.8,887,99]))
g = Seaborn.PairGrid(df)
g.map_diag(Seaborn.kdeplot)

Leads to this error,

ERROR: PyError ($(Expr(:escape, :(ccall(#= /Users/traj/.julia/packages/PyCall/l64G5/src/pyfncall.jl:43 =# @pysym(:PyObject_Call), PyPtr, (PyPtr, PyPtr, PyPtr), o, pyargsptr, kw))))) <class 'ValueError'>
ValueError('callable <PyCall.jlwrap kdeplot> is not supported by signature')
  File "/Users/traj/Documents/Discover/venv/lib/python3.8/site-packages/seaborn/axisgrid.py", line 1351, in map_diag
    if "hue" not in signature(func).parameters:
  File "/usr/local/Cellar/[email protected]/3.8.5/Frameworks/Python.framework/Versions/3.8/lib/python3.8/inspect.py", line 3093, in signature
    return Signature.from_callable(obj, follow_wrapped=follow_wrapped)
  File "/usr/local/Cellar/[email protected]/3.8.5/Frameworks/Python.framework/Versions/3.8/lib/python3.8/inspect.py", line 2842, in from_callable
    return _signature_from_callable(obj, sigcls=cls,
  File "/usr/local/Cellar/[email protected]/3.8.5/Frameworks/Python.framework/Versions/3.8/lib/python3.8/inspect.py", line 2405, in _signature_from_callable
    raise ValueError('callable {!r} is not supported by signature'.format(obj))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant