8000 yscale('log') broken for histogram · Issue #9247 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content
yscale('log') broken for histogram #9247
Closed
@weninc

Description

@weninc

Bug report

Bug summary

Setting the yscale to log in histogram results in empty plot

Code for reproduction

import numpy as np
import matplotlib as mpl
import matplotlib.pyplot as plt

plt.figure()
plt.hist(np.random.normal(size=1000))
plt.yscale('log')
plt.show()

Actual outcome
test

Expected outcome
test

Matplotlib version

  • Operating System: Archlinux
  • Matplotlib Version: 2.1.0rc1+49.g20aff4baa
  • Python Version: 3.6
  • Jupyter Version (if applicable): notebook 5.1
  • Other Libraries:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0