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

Step charts #586

Open
kasparthommen opened this issue May 20, 2024 · 0 comments
Open

Step charts #586

kasparthommen opened this issue May 20, 2024 · 0 comments

Comments

@kasparthommen
Copy link

What is the feature ?

An option to plot step charts, analogous to e.g. https://matplotlib.org/3.1.1/api/_as_gen/matplotlib.pyplot.step.html

(Optional) Why this feature is useful and how people would use the feature ?

Because linear interpolation between data points isn't necessarily the correct way to connect two data points. If the price of a stock is 100 at t=0 and at t=10 it changes to 103, then it was 100 for all 0 <= t < 10, i.e, it didn't gradually rise to 103 but it did so in a step change.

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

No branches or pull requests

1 participant