Skip to content

More descriptive ylabel for Series.hist() #10485

Closed
@clarkfitzg

Description

@clarkfitzg
s = pd.Series(np.random.randn(100))
s.plot(kind='hist')
s.hist()

Running s.plot(kind='hist') labels the y axis with the word 'Degree'. A more informative label might be 'count', 'frequency', or 'density'.

Also, it seems strange that s.plot(kind='hist') and s.hist() produce plots with different labels / gridlines.

Looks like this came from PR #7809. cc @sinhrks, @jreback

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions