X Tutup
Skip to content

hist won't norm for small numbers #6353

@kilojoules

Description

@kilojoules

osx 10.10.5 python 2.7, matplotlib installed from github's setup.py

When I plot a histogram of small values, the normalize option doesn't work.

from matplotlib import pyplot as plt
import numpy as np
y = list(np.random.normal(.05,.003,100)) + list(np.random.normal(.03,.001,100))
plt.hist(y, normed=True)
plt.show()

un-normed hist

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      X Tutup