Skip to content

Python plot similar to Matlab's stackedplot() #2700

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

Closed
addarnr opened this issue Aug 11, 2020 · 3 comments
Closed

Python plot similar to Matlab's stackedplot() #2700

addarnr opened this issue Aug 11, 2020 · 3 comments

Comments

@addarnr
Copy link

addarnr commented Aug 11, 2020

Hello,
Is there a plot function available in Python that is same as Matlab's stackedplot()?
stackedplot() in Matlab can line plot several variables with the same X axis and are stacked vertically. Additionally, there is a scope in this plot that shows the value of all variables for a given X just by moving the cursor (please see the plot below). I have been able to generate subplots in Python with no issues, however, not able to add a scope like this that shows the value of all variables by moving the cursor. Is this feature available in Python?

Thanks much for your help in advance!

stackedplot scope2

@nicolaskruchten
Copy link
Contributor

There is currently no way to get hoverlabels across subplots, unfortunately.

@emmanuelle
Copy link
Contributor

plotly/plotly.js#4755 is related to this issue.

@addarnr
Copy link
Author

addarnr commented Aug 14, 2020

The solution for this issue is at the link below.
https://stackoverflow.com/questions/63358465/scope-in-python-subplot-similar-to-matlabs-stackedplot

@addarnr addarnr closed this as completed Aug 16, 2020
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

3 participants