Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nonsticky bounds #441

Open
kinyatoride opened this issue Nov 17, 2023 · 0 comments
Open

Nonsticky bounds #441

kinyatoride opened this issue Nov 17, 2023 · 0 comments

Comments

@kinyatoride
Copy link

Description

I think it makes sense to use nonsticky bounds for some plots such as errorbar plot. Could you add an option for nonsticky bounds?

Steps to reproduce

In this example, the errorbars in the edges are hidden.

import numpy as np
import pandas as pd
import proplot as pplt

state = np.random.RandomState(51423)
data = state.rand(20, 8).cumsum(axis=0).cumsum(axis=1)[:, ::-1]
data = data + 20 * state.normal(size=(20, 8)) + 30
data = pd.DataFrame(data, columns=np.arange(0, 16, 2))

fig, ax = pplt.subplots()

h = ax.plot(data, means=True, label='label')
ax.legend(h)

output

Proplot version

3.4.3
0.9.7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant