Skip to content

PLT: add the ability to turn off the horizontal line at y = 0 generated by plot(kind='bar') #7128

Closed
@cpcloud

Description

@cpcloud
s = Series(np.random.choice(list('abcde'), size=(1000)))
ax = s.value_counts().plot(kind='bar')
ax.set_ylim(-10, 250)
plt.gcf().savefig('asdf.png')

asdf

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions