Skip to content

Conversation

nikisix
Copy link

@nikisix nikisix commented Sep 25, 2024

New horizontal bar chart (hbar)

Nick Tomasino added 2 commits September 25, 2024 16:16
@nikisix
Copy link
Author

nikisix commented Oct 8, 2024

Would be great if you could merge this.

@tammoippen
Copy link
Owner

Hi, can you please point me to the pep that is offending? What is the error message?

from ._util import hist as compute_hist


def hbar(counts, labels=Optional[List[str]], width=80, log_scale=False, linesep=os.linesep,
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove typing information. I intentionally put no typing info in this project for now.

from ._util import hist as compute_hist


def hbar(counts, labels=Optional[List[str]], width=80, log_scale=False, linesep=os.linesep,
Copy link
Owner

@tammoippen tammoippen Oct 9, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the difference between this and hist_aggregated? Is it removing the bins part and the addition of labels?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Exactly. Just needed a horizontal bar chart for something.

@nikisix
Copy link
Author

nikisix commented Oct 9, 2024

Made the requested changes. Updated the setup.py with more info from your .toml. If that was redundant I can remove.

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

Successfully merging this pull request may close these issues.

2 participants