question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feature Request: Histogram Normalisation Parameter

See original GitHub issue

Thanks for creating the great library.

Like plotext, matplotlib also provides a histogram feature. One additional parameter matplotlib provides is the ability to assign weights to each sample – particularly useful if you want to plot the histogram as a density plot rather than use the raw counts. For example, see this stack overflow discussion of the capability.

Would this be a feature you think works for plotext?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
piccolomocommented, Feb 21, 2022

New 4.2.0 PyPi version published.

1reaction
ZaydHcommented, Feb 17, 2022

plotext’s interface is lighterweight than matplotlib so a simple density argument may be a better fit than the full weights parameter. Depending on your thoughts, I may be able to submit a PR as well (assuming you are open to that).

Read more comments on GitHub >

github_iconTop Results From Across the Web

Histograms with Different Normalization for Y-axis · Issue #595 ...
Hi Guys. Currently, the histogram Y-axis is Frequency and the KDE line shows the probability. It's fine, but when the target is used...
Read more >
Histogram smoothing - Feature requests - 3D Slicer Community
I am doing some analysis of MRI images and am attempting to come up with a rigerous way to do image normalization.
Read more >
Machine learning hyperparameter selection for Contrast ...
The basic idea of CLAHE consists in performing the histogram equalization of non-overlapping sub-areas of the image, using interpolation to ...
Read more >
[Feature Request] Contrast Limited Adaptive Histogram ...
I use CLAHE mostly to equalize the brightness of low or high contrast images. Equalize local histograms does much less of that. I...
Read more >
histogram | API Reference | ArcGIS API for JavaScript 4.25
Determines how the provided field values will be normalized. This parameter only normalizes data referenced by a field , and does not apply...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found