Skip to content
This repository was archived by the owner on Aug 1, 2022. It is now read-only.
This repository was archived by the owner on Aug 1, 2022. It is now read-only.

TypeError: __init__() missing 1 required positional argument: 'seed' #58

@zkytony

Description

@zkytony

When I tried to use add_state_annotation() to a barplot, I get the following error:

Traceback (most recent call last):
  File "plotting.py", line 63, in result_plot
    add_stat_annotation(ax, plot="barplot", data=df,
  File "/home/myhome/pyenv/py37/lib/python3.7/site-packages/statannot/statannot.py", line 442, in add_stat_annotation
    errcolor=".26", errwidth=None, capsize=None, dodge=True)
TypeError: __init__() missing 1 required positional argument: 'seed'

I am using seaborn 0.11.0. I checked seaborn's source code and indeed there is a required seed argument. I think this is a simple bug to be fixed. Also, it would be nice to have some barplot examples in the Jupyter Notebook, so that the barplot annotation functionality is tested:)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions